Cloud-based threat detection

ABSTRACT

In certain embodiments, a security system is provided to receive activity data associated with a first source. The security system may scan the activity data to determine if there are one or more actions of interest associated with a first user account in the activity data. The security system may retrieve, from memory, security rules associated with the first cloud-based service and/or an organization associated the first user account. The security system may compare the actions of interest associated with the first user account to the security rules to determine if there are one or more security violations. In certain embodiments, the security system may retrieve additional activity data from a second source. The security system may scan the additional activity data to determine if there are one or more actions of interest associated with the second user account in the additional activity data.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to India application 2017/41034580 filed Sep. 28, 2017 entitled “Cloud Access Security (CAS) Threat Library For a User Based on Cloud Access Patterns” the contents of which are incorporated fully for all intents and purposes.

BACKGROUND

Cloud service providers provide various services in the “cloud;” that is, over a network, such as the public Internet, and remotely accessible to any network-connected client device. Examples of the service models used by cloud service providers (also referred to herein as “cloud providers” or “providers”) include infrastructure as a service (IaaS), platform as a service (PaaS), software as a service (SaaS), and network as a service (NaaS). IaaS providers provide customers with infrastructure resources such as processing, storage, networks, and other computing resources that the customer is able to use to run software. The customer does not manage the infrastructure, but has control over operating systems, storage, and deployed applications, among other things, and may be able to control some networking components, such as firewalls. PaaS providers provide a customer with a platform on which the customer can develop, run, and manage an application without needing to maintain the underlying computing infrastructure. SaaS is a software licensing and delivery model in which software is licensed to customer on a subscription basis, and is centrally hosted by the cloud provider. Under this model, applications can be accessed, for example, using a web browser. NaaS providers provide network services to customers, for example by provisioning a virtual network on the network infrastructure operated by another party. In each of these service models, the cloud service provider maintains and manages the hardware and/or software that provide the services, and little, if any, software executes on a user's device.

Customers of cloud service providers, which can be referred to as users or tenants, can subscribe to the service provider to obtain access to the particular services provided by the service provider. The service provider can maintain an account for a user or tenant, through which the user and/or tenant can access the provider's services. The service provider can further maintain user accounts that are associated with the tenant, for individual users. Examples of service providers include Box, Dropbox, Microsoft, Docusign, Google, Salesforce, Oracle, Amazon, and others. Service provider such as these can provide multiple different services, but different service providers need not have any affiliation with one another, including not sharing infrastructure or security boundaries. Service provider systems are often also heavily secured and closed to non-tenants.

The reliance of organizations on computing environments has led to widespread adoption of cloud services for operations such as collaboration, sales and customer services, infrastructures, and so on. Applications provided through a cloud environment may enable organizations to rollout services faster and without much upfront investment on data center, hardware, software, and deployment projects. The accessibility of applications can increase employee productivity due to the availability of cloud enabled services from many locations, such as at work, at home, at a hotel, and other locations.

Because organizations and/or users of an organization may subscribe to the services of many different cloud services providers, an organization may need ways to ensure the organization's own systems do not come to harm through the use of cloud services. Use of cloud services can lead to security risks that are not present when an organization hosts and manages services within the organization itself.

BRIEF SUMMARY

In various implementations, provided are systems and methods for a cloud security system that can provide real time threat analysis for multiple cloud-based services. In various examples, the security system obtains activity data from a first service provider system. The activity data may describe actions performed at a first point in time during use of a first cloud service. The actions may be performed by one or more user devices associated with a tenant, where the first service provider system provides the tenant with a tenant account. In some examples, the tenant account enables the one or more user devices to access the first cloud service. In some examples, the security system may determine, based on the received activity data, that a first event that occurred during use of the first cloud service. The first event may describe one or more actions performed by one or more user devices associated with a tenant. In some examples, the security system may determine that the first event is associated with a security rule configured for the tenant.

The security rule can include a sequence of events requirement and a threshold requirement. The threshold may be a predefined amount of actions that must be completed. In some examples, when the cloud security system determines that a number of events from the sequence of events have occurred and the number of events exceeds the threshold, that a security violation has occurred. In some cases, the cloud security system may determine, at the first point in time, the number of events includes the first event and the number of events is less than the threshold. In some cases, the cloud security system may store, in non-volatile memory, a first timestamp associated the first event. The timestamp may indicate a time that a first event has occurred during the use of the first cloud service.

In some examples, the cloud security system may obtain additional activity data from a second service provider system. The additional activity data may describe actions performed at a second point in time during use of a second cloud service. In some examples, the second point in time is after the first point in time. In some examples, the cloud security system determines, based on the additional activity data, a second event that occurred during use of a second cloud service. In some examples, after the second point in time, the sequence of events requirement and the threshold requirement of the security rule are met.

In various examples, the cloud security system may determine that the second event is associated with the security rule. In some examples, the cloud security system stores, in non-volatile memory, a second timestamp associated the second event. In some examples, the security rule may have a time requirement. In some examples, the cloud security system determines, based on the first timestamp and the second timestamp, whether the time requirement of the security rule is met. In some examples, in response to meeting one or more requirements of the security rule, cloud security system may modify a security control associated with the first cloud service or the second cloud service.

In some examples, the sequence of events includes an ordered sequence actions. In some examples, the first cloud service is distinct and separately controlled from the second cloud service. Different entities may control and operate the first cloud service and the second cloud service.

In some examples, a first user account is associated with the first event and a second user account is associated with the second event. In some examples, a single user or entity is associated with both the first user account and the second user account, such that the single user controls access to both the first user account and the second user account. In some examples, a first user is associated with the first user account and a second distinct user is associated with the second user account, such that two different users control access to the first user account and the second user account.

In some examples, the security rule time requirement may include a span of time during which the first and second events must take place in order for the security rule to be violated. In some examples, cloud security system determines the first timestamp and the second timestamp are within the span of time. In some examples, cloud security system modifies the security control associated with the first cloud service or the second cloud service to limit access to the first cloud service or the second cloud service for one or more user accounts associated with the first timestamp or the second timestamp.

The foregoing, together with other features and implementations will become more apparent upon referring to the following specification, claims, and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 includes a block diagram illustrating an example of a computing environment that includes a security monitoring and control system.

FIG. 2 illustrates a block diagram of an example cloud security system that can be implemented by a security management and control system.

FIG. 3 illustrates a block diagram of an example analytics engine of a security management and control system.

FIG. 4 illustrates a block diagram illustrating an example of a computer environment that includes a security system.

FIG. 5 illustrates an example schema for storing context categories, contexts, and actions associated with one or more embodiments described in the disclosure.

FIG. 6 illustrates an example schema for storing security policies associated with one or more embodiments described in the disclosure.

FIG. 7 illustrates a first example process performed by a security system.

FIG. 8 illustrates a second example process performed by a security system.

FIG. 9 depicts a simplified diagram of a distributed system in which the various examples discussed above can be implemented.

FIG. 10 is a simplified block diagram of one or more components of a system environment in which services may be offered as a cloud.

FIG. 11 illustrates an example of a computer system that may be used to implement various examples.

DETAILED DESCRIPTION

In the following description, for the purposes of explanation, specific details are set forth in order to provide a thorough understanding of various implementations and examples. It will be apparent, however, that various implementations may be practiced without these specific details. For example, circuits, systems, algorithms, structures, techniques, networks, processes, and other components may be shown as components in block diagram form in order not to obscure the implementations in unnecessary detail. The figures and description are not intended to be restrictive.

Some examples, such as those disclosed with respect to the figures in this disclosure, may be described as a process which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, a sequence diagram, or a block diagram. Although a sequence diagram or a flowchart may describe the operations as a sequential process, many of the operations may be performed in parallel or concurrently. In addition, the order of the operations may be re-arranged. A process is terminated when its operations are completed, but could have additional steps not included in a figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination may correspond to a return of the function to the calling function or the main function.

The processes depicted herein, such as those described with reference to the figures in this disclosure, may be implemented in software (e.g., code, instructions, program) executed by one or more processing units (e.g., processors cores), hardware, or combinations thereof. The software may be stored in a memory (e.g., on a memory device, on a non-transitory computer-readable storage medium). In some examples, the processes depicted in sequence diagrams and flowcharts herein can be implemented by any of the systems disclosed herein. The particular series of processing steps in this disclosure are not intended to be limiting. Other sequences of steps may also be performed according to alternative examples. For example, alternative examples of the present disclosure may perform the steps outlined above in a different order. Moreover, the individual steps illustrated in the figures may include multiple sub-steps that may be performed in various sequences as appropriate to the individual step. Furthermore, additional steps may be added or removed depending on the particular applications. One of ordinary skill in the art would recognize many variations, modifications, and alternatives.

In some examples, each process in the figures of this disclosure can be performed by one or more processing units. A processing unit may include one or more processors, including single core or multicore processors, one or more cores of processors, or combinations thereof. In some examples, a processing unit can include one or more special purpose co-processors such as graphics processors, Digital Signal Processors (DSPs), or the like. In some examples, some or all of the processing units can be implemented using customized circuits, such as Application Specific Integrated Circuits (ASICs), or Field programmable gate arrays (FPGAs).

Conventional threat detection systems often have false positives and may also miss malicious actors that act across platform. Conventional threat detection systems often rely on policy alerts which may simply consist of a one to one mapping with an event. In such systems, whenever a restricted event occurs a policy is violated and a threat is detected. By relying one simplistic one to one mapping a threat detection system may miss malicious actors/events that occur over a period of time, across cloud-based platforms, and across cloud providers. Various examples discussed herein offer improvements over conventional threat detection systems by utilizing contextual information in an activity log over a period of time to determine malicious actors associated with a cloud-based application, across multiple cloud-based applications, and across multiple cloud-based service providers.

Various examples discussed herein offer advantages over conventional threat detection systems. For example, a cloud-based threat detection system that may service several cloud-based service providers and enterprises. The cloud-based threat detection system may scan activity data associated with different cloud-based services provided by different cloud-based service providers, to determine whether a security violation has occurred. By analyzing data from multiple sources (e.g., two different could-based services) the cloud-based threat detection system may be able to identify potentially harmful actions segmented across multiple user accounts and/or multiple services. The cloud-based threat detection system may include security violation detection for instances when a user is associated with multiple user accounts. The cloud-based threat detection system may analyze a combination of actions associated with a user account to accurately determine whether a user account is in violation of a security rule, thus reducing the likelihood of false positives.

In various examples, a security system receives activity data associated with a first source. The activity data may include data associated with a first user account during the use of a first cloud-based service. The security system may scan the activity data to determine whether there are one or more actions of interest associated with the first user account in the activity data. The actions of interest may be actions performed by a user associated with the first user account during the use of a first cloud-based service. If there are actions of interest these actions are flagged and stored in memory. The security system may retrieve, from this or another memory, security rules associated with the first cloud-based service and/or an organization associated the first user account. The security rules may define security policies that user accounts associated with the organization must abide by. The security system may compare the flagged actions associated with the first user account to the security rules to determine when there are one or more security violations. In some examples, the security system may determine that there are no security violations associated with the first user account and may then retrieve additional activity data from a second source. The additional activity data may include data associated with a second user account during the use of a second cloud-based service. The security system may scan the additional activity data to determine whether there are one or more actions of interest associated with the second user account in the additional activity data. The actions of interest may be actions performed by a user associated with the second user account during the use of the second cloud-based service. If there are actions of interest these actions are flagged and stored in memory. The security system may then use the previously retrieved security rules, the flagged actions associated with the first user account, and the flagged actions associated with the second user account, to determine if any security violations have occurred.

FIG. 1 includes a block diagram illustrating an example of a computing environment 100 that includes a security monitoring and control system 102 (also referred to herein as “security management system” and “security system”). The security monitoring and control system 102 can provide threat analysis and remediation for an organization 130 that uses services 112 a-112 b provided by a cloud service provider 110. Because the services 112 a-112 b are managed externally to the networks of the organization 130, network security systems of the organization 130 may not be able to ensure that use of the services 112 a-112 b does not create security risks for the organization 130. In various examples, the users of the organization 130 can access and use the services 112 a-112 b over an network 150 or a combination of networks. The network 150 can include, for example, the public Internet. The organization 130 can similarly access and use the services of the security monitoring and control system 102 over the network 150. In various examples, the security monitoring and control system 102 can also be described as a cloud service, which is administered by a cloud service provider. An example of a security monitoring and control system is Oracle CASB, which is a product and service offered by Oracle Corporation.

A service provider is a collection of hardware and software configured to provide computing services to others. The computing services can include, for example, hardware resources, processing resources, data storage, hardware platforms, software platforms, and/or applications of various levels of complexity, among other computing resources. In some cases, the service provider operates the hardware and software that enables the provider's services. In some cases, the service provider uses the hardware and software of another service provider. For example, a first service provider can be the operator of a data center, who leases software hosting services resources to a second service provider, who then provides an application such as a collaborative word processing application to users of an organization.

In various examples, service providers follow a subscription model, and lease use of a service to others, where the lease can last for a period of time. A subscriber, who is also referred to herein as a tenant, can be given an account with the service provider and/or with a particular service, through which the tenant uses the service. When the tenant is an organization, the tenant can have an account with the service provider (referred to herein as a tenant account or an enterprise account) and the organization's users can have individual user accounts with the service provider and/or the particular service. In some cases, the user accounts are tied to the account of the tenant, and the tenant account can control and manage the user accounts.

In some examples, a service provider can provide a service without direct remuneration from subscribers. For example, a service provider can provide a free email application, and obtain revenue for the service through other avenues, such as advertising. In this and other examples, subscribers can obtain an account with the service provider without a lease and possibly for an indefinite period of time.

In the example of FIG. 1 , the service provider 110 is providing two services 112 a-112 b that are accessible, over a network 150, to customers of the service provider 110. The services 112 a-112 b can include, for example, infrastructure, platforms, networks, and applications, among other services. In some examples, the two services 112 a-112 b can be inter-related, such as being able to share data or being accessible through a single sign-on mechanism (e.g., one set of user credentials enables a user to access both services 112 a-112 b without needing to separately authenticate with each service). In some examples, the services 112 a-112 b operate entirely independently. For example, the first service 112 a can be a banking application and the second service 112 b can be a software development platform. In this example, the service provider 110 may be providing the two services 112 a-112 b as separate and unrelated products.

Customers of the service provider 110 can include individual users and/or organizations, where an organization can include multiple users. An organization is an entity that brings people and resources together to serve a common purpose or purposes. Examples of organizations include companies, universities, utilities, and governmental entities, among others. The people of the organization can be represented in the organization as users. In the context of the computing environment 100, a user is a digital entity that can include a user name, a user identifier, a user account, credentials (e.g., a password, security token, or another form of credential), and/or other data that can be used to access and use the computing systems of the organization. One or more people can be associated with the same user account, or one person can have multiple user accounts. For example, a member of the network administration team can use the same administrative user account that is used by other members of the network administration team, while also having a user account that is used only by the one network administrator. In some examples, activities of a user can be driven by automated programs (such as “bots”) instead of or in addition to being driven by a human being.

In various examples, the users of the organization and the resources of the organization are under common administration and can operate within a same security perimeter. For example, in the example of FIG. 1 , the resources of the organization 130 include an enterprise network 104 and a number of client devices 106 a-106 c. The client devices 106 a-106 c can include, for example, desktop computers, laptop computers, smartphones, tablets, and other computing devices. In some examples, the client devices 106 a-106 c can be personally owned by employees of the organization 130, but while these devices are connected to the enterprise network 104, the devices are administered by the organization 130. The enterprise network 104 can also include other computing devices, such as servers, printers, routers, switches, and other network devices. Resources of the organization 130 can also include data (e.g. documents, webpages, business data, user data, etc.), databases, applications, processing capacity, storage capacity, networking capacity, and other hardware, software, or digital resources.

In various examples, client devices 106 a-106 b of the organization 130 can be connected to and operate within the enterprise network 104. For example, the client devices 106 a-106 b can be connected to a switch within the enterprise network 104, which puts the client devices 106 a-106 b behind the firewall 108 of the enterprise network 104. Being behind the firewall 108, puts the client devices 106 a-106 b within the security perimeter of the enterprise network 104. Within the security perimeter, the firewall 108 and other network security systems, such as Security Information and Event Management (SIEM) applications, Intrusion Detection Systems (IDS), and Intrusion Prevention Systems (IPS), among others, can defend the devices in the enterprise network 104 from network threats.

In various examples, a client device 106 c of the organization 130 can be connected to the organization 130 from outside the enterprise network 104. For example, the client device 106 c can be connected to the network 150 through an Internet Service Provider (ISP), and through the network 150, the client device 106 c may be able to connect to a Virtual Private Network (VPN) of the enterprise network 104, or a similar mechanism. Once connected to the VPN, the client device 106 c can operate as part of the enterprise network 104, and be defended by the security perimeter of the enterprise network 104. In this example, however, the client devices 106 c is simultaneously connect to the network 150 that is between the client device 106 c and the enterprise network 104, and thus can still be exposed to security risks that can come from the network 150. Additionally, in some examples, the client device 106 c may not need to be connected to the enterprise network 104 to be able to access the services 112 a-112 b of the service provider 110.

In various examples, the users of the organization 130 can make use of the resources of the organization 130 and the services 112 a-112 b that the organization 130 subscribes to through the client devices 106 a-106 c. which may be owned by the organization 130 and provided to the organization's members by the organization 130. In various examples, members can use any client device of the organization 130, and may be able to use multiple client devices. For example, the enterprise network 104 can include user workstations which any member can use to log in and access the member's user account. As another example, a member may have access to a laptop computer and a smartphone, and can log into to either device to access the same user account. Alternatively or additionally, the member can use a client device personally owned by the member to connect to the organization's network to make use of the organization 130 resources.

As noted above, a subscriber of the service provider's services 112 a-112 b can also be an individual who is not affiliated with or part of the organization 130. The individual may have access to a network-enabled client device 106 d, through which the individual can access the services 112 a-112 b. The individual may have a user account with an ISP that enables the individual to access the network 150. Alternatively or additionally, the individual may have a user account with one or more of the services 112 a-112 b or The individual is not, however, able to use the client device 106 d to connect to the enterprise network 104, because the individual does not have a user account with the organization 130 or credentials that enable the a user account to gain permission to connect to the enterprise network 104.

In various examples, individuals and organizations can subscribe to services provided by different service providers. For example, an organization can use an email service (e.g. Gmail from Google®) from one service provider and a file sharing service (e.g., Dropbox) from a different service provider. In this and other examples, the different service providers can be unrelated, including have separate computing systems for supporting their respective service and being controlled by different entities. In some examples, a user can have separate accounts with each service provider and/or each service provider's service. In some examples, a user may be able to use a common user account to access the services of different service providers.

In some examples, a cloud service can be authorized or unauthorized for use within the organization 130. An authorized service is one that the organization 130 has approved for use. Approval can include, for example, vetting the service through a certification process to ensure the service is secure, establishing a service contract with the service provider 110, placing the service provider 110 on a list of approved service providers, identifying the service provider 110 as a well-known and trusted service provider, and/or controlling the generation of user accounts with the service for the users of the organization 130, among other activities. For example, the service provider 110 can be categorized by the service provider 110 as a “trusted” service provider. In some examples, the organization 130 can categorize other service providers as “untrusted,” or categorize all service providers that are not on the trusted list as untrusted. An unauthorized service is one that the organization may not have specifically approved, and that a user is using at the user's own discretion. For example, a user may be using a file sharing service that the organization 130 has not specifically authorized, possibly without the organization 130 being aware that the file sharing service is being used.

In some examples, the services 112 a-112 b of the service provider 110 can be executed or accessed through an application that can be executed from within the organization 130, and which may be authorized for use within the organization 130. For example, the organization 130 can have an authorized web browser application, through which users can access services such as a file sharing service or a database service. In this and other examples, the web browser application can be referred to as an internal application. In some examples, the internal application can operate cooperatively with the cloud services 112 a-112 b, including, for example, allowing the services 112 a-112 b to access data, user account information, or other information within the organization 130. Because the internal application is executing within the organization 130 (for example on client devices 106 a-106 c of the organization 130), the organization 130 can monitor and control usage of the internal application. The organization 130, however, may not be aware of or be able to monitor users' usage, through the internal application, of the services 112 a-112 b of the service provider 110.

In some examples, a user can access the services 112 a-112 b of the service provider 110 through a third-party service provider 114. For example, a user can first access a service 116 provided by the third-party service provider 114, and through this service 116, access the service 112 b of another service provider 110 (illustrated here by a dashed arrow). The service 116 of the third-party service provider 114 can be, for example, a portal service that enables users to locate and access the applications and services of other cloud service providers. In some examples, the third-party service provider's service 116 provides access to other service over the network 150 (e.g., data to and from the service 116 that is for the other service 112 b is transmitted to and from the other service 112 b over the network 150) though the access may appear, from the user's perspective, to be direct. In some examples, the service 116 enables a user to establish a subscription with the other service 112 b, after which the user access the other service 112 b directly and without needing to access the service 116 of the third-party service provider 114.

Use of the cloud services 112 a-112 b can create a security risk for the subscribers of the services 112 a-112 b. For example, hardware, platforms, and software that are operating within the organization can, in most cases, be controlled by the organization and be secured by the organization, for example using physical barriers and/or network security tools. The cloud services 112 a-112 b, however, operate outside of the organization 130 and outside of direct control by the organization 130. The organization 130 may have little to no visibility into the activities users perform when using the services 112 a-112 b, or ability to control the actions the users perform. Additionally, the organization 130 may have little or no ability to monitor or control user actions that cause questionable data or unauthorized users to enter the organization 130 by way of the services 112 a-112 b, or that cause the organization's data to exit the organization 130 through use of the services 112 a-112 b.

In various implementations, the security monitoring and control system 102 can provide network threat detection and remediation services for subscribers of the cloud services 112 a-112 b. In various implementations, the security monitoring and control system 102 can analyze use of services 112 a-112 b and identify activities that may be a threat to an organization or individual subscriber. In some implementations, the security monitoring and control system 102 can further suggestion remediation actions, and/or can automatically perform remediation actions to isolate or stop the threat. In some examples, analysis performed by the security monitoring and control system 102 can include determining models of normal and/or abnormal behavior in user activity, and using the models to detect patterns of suspicious activity. In some examples, the security monitoring and control system 102 can simultaneously analyze data from different services and/or from different services providers. In these examples, the security monitoring and control system 102 may be able to detect suspect activity that is only evident when actions performed with different services occurs. In various examples, the security monitoring and control system 102 can determine remedial measures that can be executed at a service provider where suspect activity was detected, or at a different service provider, when the analyses determines actions may need to be taken at other service providers.

In some examples, the security management and control system 102 can be integrated into the computing environment of the organization 130. For example, the security monitoring and control system 102 can executing on a server in the enterprise network 104 and behind the firewall 108 of the organization 130. In these examples, the security management and control system 102 can be administered by the organization's network administrators, and/or by personnel associated with the developer of the security management and control system 102.

Alternatively or additionally, various examples, the capabilities of the security monitoring and control system 102 can be provided as a service to individual and organizations. For example, the network security services of the security monitoring and control system 102 can be offered as web-based cloud service, and/or under a Software as a Service (SaaS) model. In these and other examples, customers can use applications provided by the security monitoring and control system 102, where the applications provide various threat detection and remediation functions. As with the services 112 a-112 b of the service provider 110, individuals and organizations can subscribe to the security services provided by the security monitoring and control system 102. In some examples, a group users of the organization 130 can be designated as administrative users, and can manage the operations conducted by the security monitoring and control system 102 in monitoring security for the organization 130. These users may have access information such as reports generated by the security management and control system 102 and the ability perform remediation actions suggested by the security management and control system 102, among other capabilities.

In various implementations, security monitoring and control system 102 can be implemented using a computing system. In these implementations, the computing system can include one or more computers and/or servers (e.g., one or more access manager servers), which may be general purpose computers, specialized server computers (such as desktop servers, UNIX servers, mid-range servers, mainframe computers, rack-mounted servers, etc.), server farms, server clusters, distributed servers, or any other appropriate arrangement and/or combination of computing hardware. The security monitoring and control system 102 may run an operating system and/or a variety of additional server applications and/or mid-tier applications, including HyperText Transport Protocol (HTTP) servers, File Transport Service (FTP) servers, Common Gateway Interface (CGI) servers, Java servers, database servers, and other computing systems. Examples of database servers include, those commercially available from Oracle, Microsoft, and other. The security monitoring and control system 102 may be implemented using hardware, firmware, software, or combinations of hardware, firmware, and software.

In various implementations, the security monitoring and control system 102 may include at least one memory, one or more processing units (e.g., processor(s)), and/or storage. The processing unit(s) can be implemented as appropriate in hardware (e.g., integrated circuits), computer-executable instructions, firmware, or combinations of hardware and instructions. In some examples, the security monitoring and control system 102 can include several subsystems and/or modules. The subsystems and/or modules in the security monitoring and control system 102 may be implemented in hardware, software (e.g., program code or instructions executable by a processor) executing on hardware, or combinations thereof. In some examples, the software can be stored in a memory (e.g., a non-transitory computer-readable medium), on a memory device, or some other physical memory, and may be executed by one or more processing units (e.g., one or more processors, one or more processor cores, one or more Graphics Process Units (GPUs), etc.). Computer-executable instructions or firmware implementations of the processing unit(s) can include computer-executable or machine-executable instructions written in any suitable programming language, which can perform the various operations, functions, methods, and/or processes described herein. The memory may store program instructions that are loadable and executable on the processing unit(s), as well as data generated during the execution of these programs. The memory may be volatile (such as random access memory (RAM)) and/or non-volatile (such as read-only memory (ROM), flash memory, etc.). The memory may be implemented using any type of persistent storage device, such as computer readable storage media. In some examples, computer-readable storage media may be configured to protect a computer from an electronic communication containing malicious code. The computer-readable storage media may include instructions stored thereon, that when executed on a processor, perform operations of the security monitoring and control system 102.

In various implementations, the security monitoring and control system 102 can include various modules that implement different features of the security monitoring and control system 102. In the example of FIG. 1 , these modules include a scanner 174, a pattern analyzer 176, a learning system 178, a data accesser 182, a data analysis system 136, an information handler system 138, a mapping generator 170, a control manager 172, a log collector system 134, and an interface 120. The security monitoring and control system 102 further includes storage 122, which stores various data that the security monitoring and control system 102 uses. In some examples, the security monitoring and control system 102 can also be connected to additional data stores 180, which can store additional data that the security monitoring and control system 102 may need.

In various examples, the storage 122 of the security monitoring and control system 102 can one or more data stores that store tenant configuration information 124, security information 126, domain information 128, and application information 132. In various examples, the storage 122 can include one or more databases (e.g., a document database, a relational database, or other type of database), one or more file stores, one or more file systems, or a combination of systems for storing data.

In various examples, the tenant configuration information 124 (“tenant config info”), can include configuration information for tenants and tenant accounts, as well as user accounts associated with each tenant account. When, for example, the organization 130 subscribes to the services of the security management and control system 102, the organization can provide the security management and control system 102 with information that identifies the organization's tenant account with the cloud service provider 110. In this example, security management and control system 102 can store the tenant account information in the tenant configuration information 124. In some cases, the organization 130 can also provide a list of user accounts with the service provider 110, which can also be stored in the tenant configuration information 124. Alternatively or additionally, in some examples, the security management and control system 102 can query the service provider 110 to determine the user accounts. In some examples, the security monitoring and control system 102 can use the association between a tenant account and the user accounts for the tenant's users in various ways, including to retrieve information about the activity of users associated with the tenant.

In some examples, the organization 130 can also provide authentication information to the security management and control system 102, where the authentication information can be used to log in to or otherwise access the services 112 a-112 b of the service provider 110. In various examples, the security management and control system 102 can use the authorization information to access the organization's tenant account 130 with the service provider 110. Authorization information can take the form of, for example, a token (e.g., an OAuth token), a username and password, or another form of credential. In some examples, the organization 130 can specify permissions or privileges with the authorization, which can define the level of access the security management and control system 102 has to the organization's tenant account. For example, the organization 130 can specify that the security management and control system 102 can change security settings for a service provided by the service provider 110, but that the security management and control system 102 cannot generate new user accounts or delete user accounts.

In various examples, the tenant configuration information 124 can store other information for the organization 130, such as, for example security, settings for accessing the services 112 a-112 b of the service provider 110, log settings, and/or access settings (e.g., security policies, security configurations, and whitelists and blacklists, among other things). In some examples, the organization 130 can specify a security setting for a service based on a level. For example, a security setting at a high level may require that user passwords be “strong,” meaning, for example, that the password must include a variety of characters such as upper and lower case, numbers, and/or symbols. Similarly, security settings at different levels may set a session inactivity timer at higher or lower periods of time, such that, when the inactivity timer expires, the user's session is automatically ended, for example.

In some examples, the storage 122 can include security information 126 (“security info”) that includes security analysis performed by the security monitoring and control system 102. In some examples, the security information 126 can include separate entries for different customers of the security monitoring and control system 102. In some examples, the security information 126 includes historic data: the results of past analysis (e.g., from the last month, last three months, last year, or some other past time period) which can be consulted when needed. In some examples, the security information 126 can further include records of past security incidents, determinations of whether the past security incidents were actual incidents or false positives, records of remediation actions taken for past incidents, and/or outcomes of performing remediation actions, among other data. In some examples, the security information 126 can further include network threat intelligence data, obtained, for example, from third-party threat intelligence aggregators and distributors.

In some examples, the storage 122 can include domain information 128 (“domain info”) about the service provider 110 and other services providers. The domain information 128 can include, for example, a network address or location of the service provider 110, identification information for an owner or operator of the service provider 110 (e.g., the person or organization that owns and/operates the service provider 110) and information for verifying the identity of the service provider 110. The domain information 128 can be obtained, for example, by querying the service provider 110, requesting a certificate from the service provider 110, and/or requesting information from the service provider's ISP or the service provider's hosting service.

In some examples, the storage 122 can include application information 132 (“app info”) that records user of a service provider's applications or services. The application information 132 can include, for example data logs collected from the organization 130 and/or activity logs obtained from the service provider 110. The application information 132 can record, for example, actions performed during use of the services 112 a-112 b of the service provider 110 as well as identification of the users who performed the actions, timestamps for when the actions were performed, network identification of network and/or geographic locations for the users when the users performed the actions, resources affected by the actions, and other information related to use of the services 112 a-112 b.

In various implementations, the security monitoring and control system 102 may be coupled to or in communication with one or more data stores 180. The data stores 180 may be implemented using any type of persistent storage device, such as a memory storage device or other non-transitory computer-readable storage medium. In some examples, the data stores 180 can include or implement one or more databases (e.g., a document database, a relational database, or other type of database), one or more file stores, one or more file systems, or combinations thereof. The data stores 180 may be implemented by and/or accessible as a service provided by a service provider system. The data stores 180 may include an interface for requesting data related to service or the service's service provider.

In some implementations, the security monitoring and control system 102 can include a log collector system 134 that performs operations for obtaining data on which the security monitoring and control system 102 can perform analysis. In various examples, the security monitoring and control system 102 can use different types of data or data sources for conducting threat analysis. For example, the security monitoring and control system 102 can use data obtained by monitoring the client devices 106 a-106 c through which the services 112 a-112 b are used, and/or obtained by monitoring points within an organization's network, such as at routers or the firewall 108. Herein, data obtained from client devices or within the organization's network is referred to as network data. To obtain network data, in some examples, monitoring agents can be placed on the client devices 106 a-106 c and/or on the network infrastructure of the organization's network. In these examples, the monitoring agents can capture user activity as a user makes use of cloud services.

As another example, the security monitoring and control system 102 can use data logs from the service provider 110. In various examples, the service provider 110 can record user activity as the services 112 a-112 b of the service provider 110 are used. For example, the service provider 110 can record when users log into a service, a network and/or geographic location for a user when the user logs in, actions performed by the user when the user uses a service, a resource affected by the action, and other information related to use of a service. Data from service providers are referred to herein as activity data or activity logs.

The following examples illustrate some examples of activity data that can be obtained from service providers. The following is a first example of activity data (e.g., an audit log record) that can be obtained from a service provider:

“entries”: [ { “source”: { “type”: “user”, “id”: “222853877”, “name”: “Sandra Lee”, “login”: “sandra@company.com” }, “created_by”: { “type”: “user”, “id”: “222853866”, “name”: “Mike Smith”, “login”: “mike@company.com” }, “created_at”: “2016-12-02T011:41:31-08:00”, “event_id”: “b9a2393a-20cf-4307-90f5-004110dec233”, “event_type”: “ADD_LOGIN_ACTIVITY_DEVICE”, “ip_address”: “140.54.34.21”, “type”: “event”, “session_id”: null, “additional_details”: null }

The following is a second example of activity data (e.g., a shared file audit log record) that can be obtained from a service provider.

“entries”: [ { “type”: “event”, “source”: { “parent”: { “type”: “folder”, “id”: “0”, “name”: “All Files” }, “item_name”: “financial2017Q1.doc”, “item_type”: “file”, “item_id”: “159004949136” }, “additional_details”: { “service_name”: “File Sharing App” }, “event_type”: “SHARE”, “ip_address”: “140.191.225.186”, “event_id”: “234d2f55-99d0-4737-9c3b-1a5256fe7c67”, “created_at”: “2016-12-12T20:28:02-07:00”, “created_by”: { “type”: “user”, “id”: “238746411”, “name”: “John Smith”, “login”: “john@company.com” } }

The following is a third example of activity data (e.g., an audit record) that can be obtained from a service provider.

{ “Records”: [ { “eventVersion”: “1.03”, “userIdentity”: { “type”: “IAMUser”, “principalId”: “111122225533”, “arn”: “arn:aws:iam::111122223333:user/john”, “accountId”: “111122223335”, “accessKeyId”: “AKIAIOSFODNN7JOHN”, “userName”: “john” }, “eventTime”: “2016-12-26T20:46:31Z”, “eventSource”: “s3.amazonaws.com”, “eventName”: “PutBucket”, “awsRegion”: “us-west-2”, “sourceIPAddress”: “127.0.0.1”, “userAgent”: “[ ]”, “requestParameters”: { “bucketName”: “myprodbucket” }, “responseElements”: null, “requestID”: “47B8E8D397DCE7D6”, “eventID”: “cdc4b7ed-e171-4cef-975a-ad829d4123c7”, “eventType”: “AwsApiCall”, “recipientAccountId”: “111122223344” }

The following is a fourth example of activity data (e.g., an audit record) that can be obtained from a service provider.

79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47efcde myprodbucket [06/Feb/202017:00:01:57 +0000] 192.0.2.3 Mary DD6CC733AMARY REST.GET.OBJECT s3-dg.pdf“GET /mybucket/financial2016Q4.pdf HTTP/1.1” 200 - - 4406583 4175428 “—” “S3Console/0.4” -

In some examples, the security monitoring and control system 102 can use data from other data sources, such as third-party feeds from network sources other than the organization's network or the service provider 110. Examples of other network sources can include network security data aggregators and distributors, social networking systems, news reporting or aggregating systems, governmental systems, reputation systems, and other systems.

In various implementations, the log collector system 134 can perform operations to obtain network data and/or activity data. For example, the log collector system 134 can be configured to communicate with software agents placed with the enterprise network 104 to network data logged by these agents. In this example, the network data can include network traffic generated as a user uses the services 112 a-112 b of the service provider 110 or the services of another service provider. In some examples, the network data can include other network traffic, such as network traffic generated as a user uses other network resources, such as resources of the organization 130 or resources on the Internet, such as websites. As another example, the log collector system 134 can be configured to communicate with the service provider 110 to obtain activity logs from the service provider 110. The service provider 110 can have, for example, and Application Programming Interface (API) that enables the log collector system 134 to request activity logs. In these examples, the log collector system 134 may be able to use the credentials of a tenant account with the service provider 110 to request the activity logs; that is, the log collector system 134 can pose as a tenant of the service provider 110 and make a request in the same way as would the tenant.

In various implementations, data obtained by the log collector system 134 can be processed by a data analysis system 136 in security monitoring and control system 102. The data analysis system 136 can conduct analysis on network data and activity data to perform operations such as discovery of applications being used, activity pattern learning and recognition, anomaly detection, and network threat detection, among other operations. These and other operations that can be performed by the data analysis system 136 are discussed further below.

In various implementations, the information handler system 138 of the security monitoring and control system 102 manages the data in the storage 122, including, for example, storing data, locating and retrieving data, organizing data, and updating data, among other operations. In some examples, the information handler system 138 received data from users of the organization 130, such as administrative users, who can provide information such as lists of the organization's users and data about the users. The data about the users can include, for example, roles or privileges for a user. In these and other examples, the information handler system 138 can manage storing of the user data in the appropriate data store in the storage 122.

In various implementations, the mapping generator 170 performs security analysis the organization 130 or another customer of the security monitoring and control system 102. For example, the mapping generator 170 can operate on output of the data analysis system 136 and compute a measure of security for a service, a user, a tenant, or combinations of services, users, and/or tenants. In some examples, the mapping generator 170 can obtain data from the interface 120 to perform security analysis. Security analysis operations are discussed further below.

In various implementations, a control manager 172 in the security monitoring and control system 102 can act on behalf of the organization 130 to manage access to the services 112 a-112 b of the service provider 110 by the organization's users. In various examples, the control manager 172 can provide this service for multiple cloud services or any cloud service that the organization's users use. In some examples, the control manager 172 can use access policies to control users' access to the services 112 a-112 b. An access policy can define, for example, types or categories of users that can or cannot use a service, specific users that can or cannot use a service, times of day or days of the week when a service can be used, an amount of data that can be transferred to or from the services, an amount of data bandwidth that can be used, actions that can or cannot be performed in using the service, to which users the access policy applies, and/or other restrictions or permissions with respect to the service. In various examples, the control manager 172 can maintain a set of policies for each organization that subscribes to the services of the security management and control system 102. In some examples, the control manager 172 can provide pre-sets with different levels of security, where selecting a pre-set selects the security configuration for one or more services. In these examples, the organization's selection of a pre-set can affect some or all of the organization's users ability to use the services.

In some examples, the control manager 172 can also maintain security policies for the organization 130. A security policy can define an action or set of actions that, when detected, constitute a security violation or an event that otherwise requires attention. In some examples, actions that are defined by a policy as a security violation can occur through use of one service, meaning that all the actions were performed while using the same service. In some examples, the actions can have occurred during use of more than one service, where the services are provided by one service provider or multiple service providers. In some examples, a security policy can also define one or more remediation actions to perform when a violation of the policy is detected. A remediation action can include, for example, sending a notification to the user who caused the violation, to network administrators of the organization 130, to administrators of the security management and control system 102, and/or to another entity.

In some examples, remediation can include modifying access to a service or to multiple services. For example, a remediation action can include preventing a particular user from using a service, or preventing all users of the organization 130 from using the service. As another example, a remediation action can include limiting the actions that can be performed in using a service. In some examples, performing a remediation action can include sending instructions to the enterprise network 104. In these examples, the instructions can, for example, configure a client device or a network infrastructure device such as the firewall 108. The client devices 106 a-106 c and/or the network infrastructure devices may, in some examples, be executing a software agent that enables the control manager 172 to communication with the devices, and make modifications to the devices. Modifications can include, for example, restricting access to a domain or Internet Protocol (IP) address, blocking all network traffic, disabling the device, or making some other modification to the device.

In some examples, performing a remediation action can include sending instructions to the service provider 110 to modify access to the services 112 a-112 b. In these examples, the remediation action can include determining instructions to send. For example, the control manager 172 can examine an API of the service provider 110 and/or of a service to identify instructions that can be performed to cause a desired change to the service. In this example, the API can define instructions that can, for example, prevent or limit access to the service by a user or a group of users of the organization 130. As another example, the API can define instructions that can disable or enable certain functionality of the service, wherein the disabling or enabling affects one or more users of the organization 130. In these and other examples, the modification to the service affects the users of the organization with which the remediation is associated, and does not affect the users of a different organization.

In various implementations, the security monitoring and control system 102 can include a learning system 178. The learning system 178 can apply various machine learning algorithms to data collected by the security monitoring and control system 102. The information learned about the data can then be used, for example, by the data analysis system 136 to make determinations about user activities in using services provided by the service provider 110. For example, the learning system 178 can learn patterns of normal or common behaviors of users of an organization. In these and other examples, the learning system 178 can generate models that capture patterns that the learning system 178 has learned, which can be stored in the storage 122 along with other data for an organization.

To support the learning system 178, in some implementations, the security monitoring and control system 102 includes a scanner 174 and a pattern analyzer 176. In these implementations, the scanner 174 can, for example, scan data for particular types of information. For example, the scanner 174 can extract the activities of a particular user, group of users, class of users, and/or all users associated with a particular tenant. As another example, the scanner 174 can extract activities relating to use of a particular service or set of services. As another example, the scanner 174 can extract activities relating to a particular service provider. In various implementations, the pattern analyzer 176 can use the data extracted by the scanner 174 to identify patterns in the data. For example, users and/or organizations may use services in repetitive ways or in cyclical ways. In these examples, the pattern analyzer 176 can identify repetitive behavior, and identify these patterns of behavior to the learning system 178.

In some examples, a data accesser 182 in the security monitoring and control system 102 can communicate with service providers to obtain activity data from those service providers. The activity data may be for a user account, a tenant account, a group account, or another type of account. The activity data may be obtained for a service, a particular type of data (e.g., a data for a particular attribute), one or more users, or combinations services, service providers, attributes, users, or other factors. In some examples, the data accesser 182 may process data to identify activity related to one or more criteria, such as one or more services, a particular type of data (e.g., a data for a particular attribute), one or more users, or combinations thereof.

In various implementations, the security management and control system 102 provides an interface 120 through which customers of the security management and control system 102 can use the services of the security management and control system 102. The interface 120 can provide, for example, a graphical user interface (GUI) that can display a control panel or dashboard that enables the organization's administrative users to configure the services of the security management and control system 102. The graphical user interface can further enable the administrative users to view reports of user activity with respect to the services 112 a-112 b of the service provider 110. The graphical user interface can further provide reports of security events and suggest remediation actions, and/or report on the outcome of remediation actions that the security management and control system 102 automatically performs. The graphical user interface can be implemented, for example, as software application that can be executed on the client devices 106 a-106 c of the organization 130. Alternatively or additionally, the graphical user interface can be implemented as a web-based interface (e.g., a website).

In some examples, the interface 120 can alternatively or additionally provide an API through which the organization 130 can manage the services provided by the security management and control system 102. The API can define actions to, for example, pull reports on user activity in using cloud services, pull reports on security events, issue instructions for remediation actions, obtain statistics on user activity, and/or other actions related to the services of the security management and control system 102. The API of the interface 120 can enable an organization to, for example, integrate the capabilities of the security management and control system 102 into the security infrastructure of the organization 130.

A system for security monitoring and control, in various implementations, can include multiple components that may be located on a single hardware platform or on multiple hardware platforms that are in communication with each other. Components can include software applications and/or modules that configure a server or other computing device to perform the operations of the security management and control system 102.

FIG. 2 illustrates a block diagram of an example cloud security system 200 that can be implemented by a security management and control system. In various implementations, the example cloud security system 200 can conduct network threat analysis for a tenant 220 of a service provider 230, and determine whether actions by users of the tenant 220 in using a service of the service provider 230 constitute a network threat. In various implementations, the cloud security system 200 can include user interface components 215 for interfacing with a tenant 220 and provider interface components 201 for interfacing with a service provider 230. On the back end, the cloud security system 200 can include various applications for conducting analytics and data stores for storing data used in the analytics.

In the context of the example of FIG. 2 , the tenant 220 is a tenant of the service provider 230, meaning that the tenant 220 is using a service of the service provider 230. When the cloud security system 200 is provided as a cloud service, the tenant 220 can also be a tenant of the cloud security system 200, n that the tenant 220 is using the services of the cloud security system 200.

In various examples, the user interface components 215 include an administration console 214 and an analytics visualization console 216. Using the administration console 214, the tenant 220 can configure the security controls for the services of the service provider 230. Configuration of the security controls can include, for example, enabling or disabling or disabling access to the service by the tenant's users, enabling or disabling features of the service that the tenant's users can use, and other configurations that are available to the tenant 220. The analytics visualization console 216 can be used to view analytics generated by the cloud security system 200. For example, using the analytics visualization console 216, the tenant 220 can view reports of security incidents involving the tenant's users and a service to which the tenant 220 is subscribing. In various examples, the information displayed in the administration console 214 and the analytics visualization console 216 can be obtained from the data stores of the cloud security system 200.

In various implementations, the administration console 214 can provide the tenant 220 with a normalized view of controls for multiple cloud service and/or cloud service providers. The administration console 214 can include a user interface that displays a simplified view of controls for different cloud services on the same screen. Information provided to the administration console 214 can be retrieved from an application catalog database 208 using metadata based schema mapping. In some examples, administration console 214 can be used to assign consistent access policies across cloud services. In these examples, administration console 214 can display controls and/or set controls according to specified classifiers, such as, for example, standard, stringent, or custom, among others. In this example, a higher level classification corresponds to more stringent controls. In some examples, classification and/or designation of security controls complies with criteria specified by organizations such as the National Institute of Standards and Technology (NIST), International Organization for Standardization (ISO), and/or Payment Card Industry Data Security Standard (PCI DSS) and/or a specific certification offered by one such organization. In some examples, the administration console 214 can also provide for plug-in interfaces to integrate with SaaS, PaaS, and native applications.

In various implementations, the analytics visualization console 216 can display security indicators in a library format with risk factors that are color coded (such as red, green, yellow). Other statistics or metrics may be displayed such as, for example, user logins attempts, groups with the most newly added users, deleted files, users with the most deleted files, and/or users downloading the most files, among other metrics. Some types of information may be specific to a particular service provider. For example, for Salesforce.com, the metrics can include the identities of users that are downloading opportunity or budget data, contracts, or contacts. In some examples, the analytics visualization console 216 provides a unified view of security controls for a tenant's cloud services. The analytics visualization console 216 may display a values set for any or all security controls set for different cloud services, as well as deviations of the current values from values associated with predetermined policies or configurations.

In various examples, the provider interface components 201 can applications that the cloud security system 200 can use to interface with the service provider 230. These components can include a cloud crawler application 202, a cloud seeder application 204, and a data loader application 206.

In various examples, the cloud crawler application 202 can retrieve information about security controls from the service provider 230. Data retrieved by the cloud crawler application 202 can be entered into an application catalog database 208. Retrieving information can include, for example, sending requests to the service provider 230 that are formulated to ask the service provider 230 for the security controls that are available for a service, and any available settings for the security controls. Alternatively or additionally, the service provider 230 can include an API through which the cloud crawler application 202 can obtain security controls for a service. In various examples, a cloud crawler application 202 can retrieve software defined security configuration data from the service provider 230. Software defined security configuration data can describe the configuration of security controls for a particular service. Security controls are mechanisms that restrict access to the application and/or data housed by the cloud service provider. For example, software defined security configuration data can include data describing roles that are defined for users, groups, and grouping of users; encryption keys; tokens; access controls; permissions; configurations; types of authentication policies; mobile access policies; and many other types of security controls.

In various examples, the cloud crawler application 202 can connect to the service provider 230 in order to obtain software defined security configuration data. The service provider 230 may require authorization or some other manifestation of consent for access to the service provider's systems. Authorization may be provided by a token (such as using the Open Authorization (OAuth) open standard for authorization) or by credentials (such as a username and password). The token or credentials can be that of the tenant 220, or a token or credential associated with the cloud security system 200. Various other techniques can be used to authorize access to a cloud provider's system and data. The connection may also include providing a service Uniform Resource Locator (URL).

In various examples, the software defined security configuration data can be collected by using an API of the service provider 230. Examples of APIs and classes of APIs include Representational State Transfer (REST), Java 2 Platform, Enterprise Edition (J2EE), Simple Object Access Protocol (SOAP), and native programmatic methods (such as native application API's for Java), among others. The information could also be requested using other techniques, such as scripting languages (such as Python and PHP), deployment descriptors, log files, database connectivity through Java Database Connectivity (JDBC) or REST, and resident applications (such as cloud beacons). The information that is sent or received can be represented in a variety of format, such as, JavaScript Object Notation (JSON), Extensible Markup Language (XML), or Comma Separated Values (CSV), among other formats.

Table 1 below provides an example of some security controls provided by cloud services providers Box and Amazon Web Services (AWS). Other cloud services providers can have similar security controls or other security controls.

TABLE 1 Support in Amazon Web Security Controls Support in Box Services (AWS) Users/Group REST (Representational AWS IAM (Identity and Management State Transfer) API Access Management) APIs Credentials and N/A Secure and monitor Identifiers Accounts, tokens, keys etc. Login/Logout REST API AWS CloudTrail - Events Events API and Log files IP address of the REST API AWS CloudTrail - Events clients API and Log files Device (iphone, REST API AWS CloudTrail - Events ipad etc) used API and Log files by the clients Password Policies REST API AWS IAM policies Resource Access Resources: Files, Resources: EC2, S3, EBS Permissions Folders Actions: Create, Access, Actions: Editing, Restart, Terminate, etc. Preview, upload, IP address based access collaboration controls events Restrict or limit Limit users from saving AWS IAM policies Mobile access content for offline access Roles BOX has pre-defined Roles can be created using admin roles pre-defined policies

Table 2 provides an example of some of the security controls and supported access for cloud services provider Salesforce.com. Other cloud services providers can use similar or other security controls and access controls.

TABLE 2 Security Controls Support in Salesforce.com Users/Group Management SalesForce User/Group/Profiles APIs Credentials and Identifiers APIs: Setup changes Login/Logout Events APIs: Audit activity IP address of the clients APIs: Audit activity Device (iphone, ipad, etc.) API to manage Setup changes used by the clients Password Policies APIs: Setup changes Resource Access Permissions Salesforce object monitoring using object history Restrict or limit Mobile access APIs to manage Setup changes Roles Salesforce Profiles

In various examples, the cloud crawler application 202 can generate security controls metadata from the software defined security configuration data obtained from the service provider 230. The security controls metadata is normalized descriptors for entering the information into a common database such as the application catalog database 208. The security controls metadata can be categorized (e.g., mapped into categories) and indexed. The categorization may comply with a standard specified by a security organization and/or may be certified and/or audited by a third party. In addition, the security controls metadata and/or the categorization of metadata may be formulated around the requirements of a particular regulation or standard. For example, regulations and standards such as the Health Insurance Portability and Accountability Act (HIPAA), the Sarbanes-Oxley Act, the Federal Risk and Authorization Management Program (FedRAMP), and/or the Payment Card Industry Data Security Standard (PCI DSS) may require reporting and audit trails. The security controls metadata can be formatted in a way to display the types of information required by the regulations and standards and facilitate the generation of reports needed.

The security controls metadata can be stored in the application catalog database 208. In some examples, the application catalog database 208 is an Apache Cassandra database, an open-source NoSQL database management system designed to handle large amounts of data across many commodity servers. In some examples, the application catalog database 028 is implemented using types of databases appropriate to the application. In some examples, a variety of databases can be used to store an application catalog for later retrieval, report generation, and analytics generation.

In various implementations, other methods can be used to retrieve software defined security configuration data and to generate security controls metadata. Additionally, various types of controls and mechanisms for retrieving software defined security configuration data may be supported by different cloud service providers. For example, other cloud applications such as Office 365, GitHub, Workday, and various Google applications use retrieval mechanisms specific to a service. Furthermore, processes for retrieving software defined security configuration data can be automated, depending on what is supported by a cloud service provider.

In various implementations, the cloud seeder application 204 can be used to implement security policies for the tenant 220. The cloud seeder application 204 can, for example, set security controls for a tenant's accounts with the service provider's services The security controls can affect, for example, one user account, multiple users accounts, or all user accounts. In some examples, the cloud seeder application 204 can set security controls in various situations. For example, the cloud seeder application 204 can set security controls as part of remediation of a threat or when called on by the tenant 220. In various examples, the cloud seeder application 204 can be used to coordinate consistent access policies across cloud services. In some examples, security controls can be coordinated across several accounts that an organization has with different service providers. For example, different levels of security may be defined such that, when a higher or lower level of security is selected, the security controls for an organization's accounts with different cloud services are all set to reflect the higher or lower level of security. In this way, a unified policy and security controls configuration can be enforced. The values for various security controls at different levels of security can be defined by input into a user interface, such as a controls management platform discussed above, and the values associated with the security controls at each level of security can be stored in a database. A user interface can be provided to show security controls for a organization's account with a cloud service and the assignment of security control values at a security level. As an example, security controls at a “stringent” level of security can include password requirements for a user account such as ten minimum characters, two numbers, one special character, one uppercase letter, no reuse of the last ten passwords, etc.

In various implementations, the data loader application 206 can retrieve activity data for the tenant 220 from the service provider 230. The activity data can come from logs generated by the service provider 230 as the tenant's users use the service providers services. In various examples, the data loader application 206 can obtain the activity data by requesting the data from the service provider 230. The data retrieved by the data loader application 206 can be entered into a landing repository 210 and/or analytics and threat intelligence repository 211. The data entered into a landing repository 210 may be in different formats and/or have different ranges of values, due, for example, from having been collected from different service providers. In some examples, the data from the data loader application 206 can be reformatted and/or structured before being moved to the analytics and threat intelligence repository 211 so that, for example, the data has a uniform format.

In various examples, the data loader application 206 can obtain activity data by connecting to and communicating with the service provider 230. In various examples, the connection is made over an encrypted communication channel. In some examples, the connection can be authenticated by a token or using login credentials, or another authentication method. In some examples, collection of activity data is scheduled to occur periodically (e.g., every four hours, every six hours, or at some other time interval). In some examples, the schedule for collection is configurable by the tenant 220. In some examples, the data loader application 206 collects data in real time as events occur, using a real-time computation system such as, for example, Apache Storm, open source distributed real-time computation system. The data loader application 206 may be configured to designate certain events or activities as high risk events, and these events can be retrieved near real-time, outside of the scheduled retrieval interval.

In various examples, activity data can include various types of information about the user of the service provider's services. For example, activity data associated with user accounts can include information relating to the use of, and/or actions taken with, a user account for a service. In this example, the activity data can include sources of information such as user logs and/or audit trails. More specific types of activity data can include, for example, login and logout statistics (including attempts and successes), file operations, access metrics, network download/upload metrics, application metrics (e.g., use, operations, functions, etc.), IP addresses used to access a service, devices used to access service, and/or cloud resources that were accessed (such as, for example, files and folders in a file management cloud application [such as Box], employees and contractors in a human resource cloud application [such as Workday], and/or contacts and accounts in a customer relationship management cloud application [such as Salesforce]). In various examples, activity data can include the user account or other user identifier for the user associated with the events or statistics. In various examples activity data can include information about system status or activity of a cloud system such as, for example, server activity, server reboots, security keys used by a server, and system credentials, where this information is visible or accessible to a system using authorized credentials.

In some examples, activity data may also include information about the security configuration of a tenant account, possibly including the security configuration of user accounts associated with the tenant account. The security configuration can include the values to which security controls for a tenant and/or user accounts associated with the tenant are set.

In various examples, the data loader application 206 can store retrieved activity data in the analytics and threat intelligence repository 211. The analytics and threat intelligence repository 211 can be any database or data repository with query capability. In some examples, the analytics and threat intelligence repository 211 is built in a NoSQL based infrastructure such as Apache Cassandra or another distributed data processing system, although any data warehouse infrastructure may be used as appropriate for the application. In some examples, the data is first entered into the landing repository 210 and reformatted and/or structured before being moved to the analytics and threat intelligence repository 211.

In some examples, the activity data may be received in different formats that are used by different service providers or services. For example, the data may be formatted in JSON or other data interchange formats, or may be available as log files or database entries. In some examples, the data loader application 206 performs operations for normalizing the data and reformatting the data into a common format for storage in, and retrieval from, the analytics and threat intelligence repository 211. Reformatting the data may include categorizing and structuring the data into the common format. In some examples, the database is adaptive to structural changes and new values, and can run automated processes to check for changed data. In some examples, the cloud crawler application 202 recognizes differences in the structure or values of the data retrieved, and can apply the changes to the application catalog database 208 and/or the analytics and threat intelligence repository 211.

In some examples, the data loader application 206 can pre-generate system reports. The system reports can be generated by jobs (e.g., processes) that are scheduled to run on the data set at periodic intervals. Data stored in an application catalog database 208 and/or analytics and threat intelligence repository 211 can be used to generate a variety of reports. Categories of reports can include, for example, authentication and authorization, network and device, systems and change data, resource access and availability, malware activity, and failures and critical errors, among others. Reports can be based on various attributes such as, for example, per application, per user, per secured resource, and per device used for access, among others. Reports may highlight recent changes such as updated features in a cloud application or newly modified policies. Reports may be pre-generated by scheduled jobs (e.g., for performance reasons) or may be requested by a user or administrator.

In some examples, reports include analytics generated on the data. Analytics may use Apache Software Foundation technologies such as Hadoop, Hive, Spark, and Mahout or other features as available in the data storage framework used. In some examples, the R programming language is used to generate analytics. In some examples, the generation of analytics includes the use of machine learning algorithms, proprietary algorithms, and/or external threat intelligence from external commercial sources such as FireEye and Norse or public threat intelligence communities such as Zeus and Tor.

In various implementations, the aggregation of activity information in the analytics and threat intelligence repository 211 concerning access patterns and other event statistics enables the system 200 to establish baselines of behavior. Machine learning techniques, for example, can be applied to detect threats and provide recommendations concerning how to respond to threats. Threat models can be developed to detect threats that are known or unknown or emerging. Threats can also be identified by comparing activity data with external threat intelligence information, such as information provided by third-party providers, as discussed further below. In various examples, data in the analytics and threat intelligence repository 211 can further be used to generate reports that may be presented visually to a system administrator via a user interface and to generate analytics for determining threat levels, detecting specific threats, and predicting potential threats, among other things.

In some examples, a single user of the tenant 220 can have multiple accounts with the service provider 230 and/or with the services provided by the service provider 230. In various examples, the various user accounts of one user can be associated together in a user identity repository 209. In some examples, the user identity repository 209 can group together the user accounts the user has with multiple service providers. In some examples, the tenant 220 can have a tenant account with the service provider 230. In these examples, the user identity repository 209 can associate users of the tenant 220 with the tenant account, which can associate the user accounts of the users with the tenant account as well. The association of user accounts to tenant accounts may be used in various ways, such as retrieving information about the user activity of the tenant's users. In some examples, the tenant account's credentials with the service provider 230 may be used to log into the service provider 230 to retrieve activity data for user accounts that are associated with the tenant account.

In various implementations, the user identity repository 209 can also be used to facilitate tracking of user activity and generation of profiles, where a profile can describe a particular user's use of a cloud service or of multiple cloud services. In some examples, the cloud security system 200 can use the profile of a user to take actions that affect multiple cloud services. For example, the cloud security system 200 can preemptively alert a system administrator when a user's activity in using several cloud services may be a security risk. Alternatively or additionally, as another example, the cloud security system 200 can proactively secure other services on which a user maintains data by applying remedial measures, such as adding additional steps to authentication, changing passwords, blocking a particular IP address or addresses, blocking email messages or senders, or locking accounts, among other things.

In various implementations, the cloud security system 200 can include applications or software modules to perform analytics on data collected by the cloud security system 200. The applications or software modules may be stored in volatile or non-volatile memory and, when executed, can configure a processor to perform certain functions or processes. These applications can include a descriptive analytics application 207 and a prediction analytics application 212. In some examples, the descriptive analytics application 207 can generate analytics such as statistics on users, user activity, and resources used by the users. In some examples, the threat detection and prediction analytics application 212 can generate analytics using machine learning and other algorithms. The analytics performed by the prediction analytics application 212 can include identifying and predicting security threats from patterns of activity and behavioral models. Analytics performed by the descriptive analytics application 207 and the prediction analytics application 212 can be performed using data stored in the analytics and threat intelligence repository 211.

In various implementations, the cloud security system 200 can include remediation functions that provide manual and/or automated processes for responding to threats. In some examples, analytics can use information received from tenant systems that describes threat intelligence provided by the tenant. These sources, which are referred to in the example system 200 as tenant base lines 217, can include information such as specific IP addresses to watch or block, users to watch or block, email addresses to watch or block, software vulnerabilities to monitor, browsers or browser versions that can be susceptible to misuse, and/or vulnerable mobile devices or versions of mobile hardware or software, among other things. In some examples, analytics can use information received from an external third-party feed 218. The source of the third-party feed 218 can be, for example, a threat intelligence aggregator or distributor. The information from the third-party feed 218 can be used to augment the threat analytics of the cloud security system 200 by providing external information about security threats. The external information can include, for example, identification of infected node points, malicious activity from a particular source IP address, malware infected email messages, vulnerable web browser versions, and known attacks on clouds, among other things.

In various implementations, an incident remediation application 213 can be used to coordinate and/or perform remediation actions in response to detected threats. In some examples, the incident remediation application 213 may be called when a recommended remediation action is presented and selected in an alert. The incident remediation application 213 may perform the selected remediation action or instruct another application, such as a cloud seeder application 204, to perform the selected remediation action. When the selected remediation action is to be manually performed or is external to the security system 200, the incident remediation application 213 can track the status of the remediation action and whether the remediation action is complete. In some examples, the incident remediation application 213 can be used to store the results of a manual or automated remediation action. In some examples, a selected remediation action is to be performed by a system external to the security system 200, such as by a third-party's or a tenant's incident remediation system. In these examples, the incident remediation application 213 can instruct or invoke the third-party's or tenant's incident remediation system to perform the action. For example, the incident remediation application 213 may have access to an automated integration process of the third-party or the tenant 220.

FIG. 3 illustrates a block diagram of an example analytics engine 300 of a security management and control system. In various examples, the analytics engine 300 can analyze various data sources to identify network threats for an organization whose users are using cloud services. In various examples, the operations of the analytics engine 300 can be used to detect and/or address various treat scenarios.

One example of a threat scenario is IP hopping. In an IP hopping scenario, an attacker may use one or more proxy servers to hide the attacker's true location or machine identity before mounting an attack. Detection of this type of scenario can involve geographic resolution (e.g., identifying or looking up a geographic location associated with an IP address) of each IP connection used to connect to a cloud application. Detection can further include detecting anomalous characteristics in the spatial data, and predicting a threat from this information. Metrics used for detection can include, for example, a count of the number of unique IP addresses used by a user per day and/or a velocity, which can refer to the time difference between the use of different IP addresses and the/or duration that each IP address used.

Another example of a threat scenario is an unusual geolocation scenario. An unusual geolocation scenario may refer to activities being originated in locations that are unexpected or outside of an established pattern. This scenario may include activities such as, but not limited to, successful logins or file upload/download from unusual geolocations.

Another example of a threat scenario is a brute force attack. An example of a brute force attack is when an attacker's attempts to try many passwords in order to discover a correct password and compromise a user account. Detection may involve evaluating the velocity of failed login attempts and patterns in event activities to predict a brute force attack. In some examples, brute force attacks may have different speeds, such as a slow attack speed or fast attack speed. Metrics for detection can include, for example, an unusually high number of login failures for existing valid accounts and/or an unusually high number of login attempts with invalid or terminal/suspended usernames.

Another example of a threat scenario is an insider threat. Insider threats can refer to security breaches perpetrated by a person from within a network. For example, an employee of an organization, who has been authorized, through the course of employment with the organization, may misuse the authorization and intentionally or unintentionally case a security breach. Detection of an insider threat can involve tracking a user's normal behavior and generating alerts when events or activities associated with the user's account or accounts deviate from the norm. Metrics can include, for example, an usually high use of corporate resources such as a high number of downloads and/or an employee with a low rating downloading or sharing an unusually high number of files/folders, deleting code from a source code control system, or downloading, deleting, or modifying customer information, among other things.

Another example of a threat scenario is application misuse. Application misuse is a scenario that can include events associated with a terminated or suspending employee (e.g., use of an expired or revoked user account, use cryptographic keys such as a Secure Shell (SSH) key, etc.) or a malware-infected device performing an unusual number of file downloads/uploads using valid credentials, but an unusual geolocation or IP address, for example.

While specific threat scenarios and types of information that can be used to discern these scenarios are discussed above, one skilled in the art would recognize that threat detection and prediction may utilize any of a variety of information and formulas.

In various examples, the analytics engine 300 can detect the threat scenarios discussed above, as well as other threat scenarios, by examining various external and internal data sources. External data sources can provide activity data 310 obtained from cloud service providers. In some examples, external data can optionally include tenant base lines 317 and third-party data 318. In some examples internal data sources can include data models determined by a behavioral analytics engine 304 and can optionally include threat intelligence data 314 maintained by the security management and control system.

In various examples, cloud services can store user activities as user use the cloud services. For example, a cloud service can store each occurrence of a user logging in to use the service, the actions the user performs while using the service, the resources affected by the actions, data that is moved into, out of, or within the service, and/or the user logging out at the end of a session, among other things. In these and other examples can store the user's activities in a log file, which is referred to herein as an activity log. An entry in an activity log can include, for example, an action performed or a description of an action performed, identification of a user who performed the action, a resource affected by the action, the time at which the action was performed or what time the action was initiated and/or completed, and/or a network location or geolocation for the user who performed the action, among other information. In the example of FIG. 3 , the activity data 310 can include activity logs for multiple services and/or multiple service providers. In these and other examples, one activity log can include user activity for one service or for multiple services provided by the same service provider.

In various examples, the analytics engine 300 receives updated activity data 310 once per day, every other day, or periodically over another time interval. In some examples, the analytics engine 300 receives activity data 310 when certain events occur, such as a service indicating that an event has occurred (e.g., the service has been updated or the service has detected a network threat or another event originating at the service), the organization indicating that an event has occurred (e.g., the organization having added users to the service or a network administrator requesting an updated analysis or another event originating at the organization), or the security management and control system indicating that an event has occurred (e.g., receipt of new threat intelligence data 314 or another event originating at the security management and control system.

In some examples, activity logs from different cloud services may have different formats. For example, entries in one activity log may be provided as comma-separated values, while another activity log may use JSON syntax. In these and other examples, the data in the activity logs may be normalized by the analytics engine 300 or prior to being provided to the analytics engine 300. Normalizing the activity data 310 include reformatting the activity data 310 such data from different services and/or service providers is comparable, has the same meaning, and/or bears the same significance and relevance. After normalization, the behavioral analytics engine 304 can aggregate and compare data from different cloud services in meaningful ways. For example, a series of failed login attempts by one user with one cloud service may be deemed not to be a threat. However, a series of failed logins by the same user but at multiple different cloud services indicate a concerted effort to crack the user's password and should thus set off an alarm.

In various examples, the activity data 310 can be ingested in the analytics engine 300 by a behavioral analytics engine 304. In various implementations, the behavioral analytics engine 304 can collect statistics from the activity data 310 and identify behavioral characteristics from the activity data 310. Statistics can include, for example, counts of actions, such as successful login attempts or failed login attempts. In some examples, statistics can be associated with a particular service provider, a particular service, a particular user, a particular action that can be performed in using a service, a particular time frame, other factors, and/or a combination of factors.

In various implementations, the behavioral analytics engine 304 can use statistical data generated from the activity data 310 to determine activity profiles, which are also referred to herein as behavioral profiles. For example, the behavioral analytics engine 304 can generate an activity profile that describes the common or typical usage pattern of a service by the users of a particular organization. As another example, the behavioral analytics engine 304 can generate an activity profile for a particular user or group of users. In this example, the activity profile can describe a user's activity in using one service or multiple services. In various examples, to identify a user's activity across services, the behavioral analytics engine 304 can have access to user identity data, which can link together a particular user's accounts with different cloud services. the user identity data can include, for example, the user's username or other form of identification with each cloud service. In various examples, the user identity data can be provided by an organization. Alternatively or additionally, in some examples, the security management and control system can automatically determine that different user accounts are related. For example, the security management and control system can assume that user accounts with the same user name or originating with the same IP address or Media Access Control (MAC) address should be linked.

In some examples, the behavioral analytics engine 304 can include contextual data in the activity profile for a user. Contextual data can be obtained, for example, from third-party data 318, where the source of the third-party data 318 is a reputation system, a social media system, a news aggregator or provider, or another system that can maintain information about a user. Examples of contextual data include, travel location and itinerary from travel applications or email, employee status from healthcare management systems, sensitive financial time period from a Salesforce application, and/or sensitive emails from email servers, among other data. In some examples, contextual data can additionally or alternatively be obtained from client devices used by the user. In these examples the contextual data can include, for example, identification of a type of the client device, IP addresses used by the client device, geolocation data computed by a Global Positioning System (GPS) receiver of the client device, and other information about the client device or that can be obtained from the client device.

In various examples, activity profiles can cover different time periods. In some examples, activity profiles can use a fixed moving window covering a time period measured in weeks. In some examples, an “emerging profile” can be generated, which capture events that are relatively recent, such as within the last week or within a week prior to a target date. In some examples, a “stable profile” can be generated, which includes events within the last four (or eight) weeks or within four (or eight) weeks prior to a target date. In various examples, other profiles or profile types can be generated.

In some examples, fixed moving windows can be non-overlapping. That is, a window that goes further back in time can exclude events in a window that is more recent in time. For example, an eight week profile does not include events in a four week profile or one week profile and similarly the four week profile does not include events within the one week profile. Daily (or periodic) aggregation processes may be run intra-day or inter-day.

Table 3 below shows example calculated statistics for some user activities. The example user activities include an average login count for a four week window profile (“avglogcntday4wk”), an average login IP address count for a four week window profile (“avglogipcntday42k”), a standard deviation of login count for a one week window profile (“stdlogcntday1wk”), and a standard deviation of login IP address count for a one week window profile (“stdlogipcntday1wk”). Similar and other statistics can be calculated, depending on the available data and/or the threat being predicted.

TABLE 3 User ID avglogcntday_4wk avglogipcntday_4wk stdlogcntday_1wk stdlogipcntday_1wk User 1 5 4 3 2 User 2 6 2 2 1 User 3 4 3 2 2 User 4 4 4 2 1 User 5 5 5 1 1

Statistics such as those illustrated above can be combined into a feature vector. Feature vectors can include, for example, a count of a number of logins, a count of a number of distinct IP addresses used for logging in, a maximum distance between any two IP addresses used to log in within a 24-hour time period, a count of a number of distinct browsers used in connections to the cloud application within a 24 hour time period, and/or other measures. Feature vectors may be aggregated per cloud application and/or per user per cloud application.

Table 4 below shows example daily aggregation matrix vectors. The first column provides example application providers, the second column illustrates vector dimensions that may be supported by the providers, and the third column illustrates values that can be assigned to each dimension.

TABLE 4 Application Dimension Description Amazon, Salesforce, Box Login (# of count, Avg, Stddev, Max) Amazon, Salesforce, Box Failed Login (# of count, Avg, Stddev, Max) Amazon, Salesforce, Box Login IP (# of count, Avg, Stddev, Max) Amazon, Salesforce, Box Failed Login IP (# of count, Avg, Stddev, Max) Box Download (# of count, Avg, Stddev, Max) Box Download IP (# of count, Avg, Stddev, Max) Salesforce Browsers (# of count, Avg, Stddev, Max) Salesforce Mass Delete, Mass Transfer, Data Export (# of count, Avg, Stddev, Max) Salesforce Certificate and Key Management (# of count, Avg, Stddev, Max) Salesforce Network Access and IP Whitelist Changes (# of count, Avg, Stddev, Max) Salesforce Manage User Changes (# of count, Avg, Stddev, Max) Salesforce Platforms (# of count, Avg, Stddev, Max) Salesforce Password Policy Changes (# of count, Avg, Stddev, Max) Salesforce Shared Setting Changes (# of count, Avg, Stddev, Max) Amazon EC2 Instance Changes (# of count, Avg, Stddev, Max) Amazon Security Group Changes (# of count, Avg, Stddev, Max) Amazon SSH Key Pair Changes (# of count, Avg, Stddev, Max) Amazon Network ACL Changes (# of count, Avg, Stddev, Max) Amazon VPN Connection Changes (# of count, Avg, Stddev, Max) Amazon SAML Changes (# of count, Avg, Stddev, Max) Amazon VPC Changes (# of count, Avg, Stddev, Max) Amazon IAM Access Key Changes (# of count, Avg, Stddev, Max)

Table 5 below lists example values for several possible daily aggregation matrix vectors. The example vectors illustrated here include a count of logins per day for one day (“logcntday_1dy”), a count of failed logins per day for one day (“logfailcntday_1dy”), a count per day of IP addresses from which failed logins occurred over one day (“logfailipdisday_1dy”), and a count per day of IP addresses used to log in over one day (“logipdisday_1dy”).

TABLE 5 User ID logcntday_1dy logfailcntday_1dy logfailipdisday_1dy logipdisday_1dy User1 5 4 3 2 User2 6 2 2 1 User3 4 3 2 2 User4 4 4 2 1 User5 5 5 1 1

In various examples, activity profiles determined by the behavioral analytics engine 304 can be used by the threat detection engine 302 to identify usage of a cloud service that may pose a threat to an organization that is using the cloud service. In some examples, the threat detection engine 302 applies security policies to identify a threat. A security policy can describe an event that, when the event occurs, the event is brought to the attention of the organization and/or the security management and control system. For example, security policies can specify actions, such as downloading a file containing credit card numbers, copying encryption keys, elevating privileges of a normal user, and so on, that need to be brought to the attention of the organization. In some examples, a security policy can also describe an action that is to be taken when an event is detected, such as blocking access to a service, or disabling a user account.

In some examples, the threat detection engine 302 conducts anomaly detection to identify a threat. Anomaly detection can involve searching for statistical variations from an established norm. In some examples, the operations of the threat detection engine 302 can be augmented by a tenant base line 317, which can include threat intelligence from the organization. In some examples, the threat detection engine 302 can alternatively or additionally receive threat intelligence data 314 that is maintained by the security management and control system, and/or third-party data 318 that includes threat intelligence from, for example, threat intelligence aggregators or distributors.

Provided below are various example algorithms that can be used for anomaly detection. These algorithms are provided as examples, and other algorithms can be used.

Algorithm 1 is one example of an algorithm that can be used to determine login IP address variations. Z-scores can be calculated for a login IP address feature vector over different time periods. The example that follows uses one week, four weeks, and eight weeks as examples of time different time periods, resulting in three Z-scores:

${L\; 1\mspace{14mu}{ZScore}} = \frac{{{Login}\mspace{14mu}{IP}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} - {1\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}{Login}\mspace{14mu}{IP}}}{1\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}{Login}\mspace{14mu}{IP}}$ ${L\; 2\mspace{14mu}{ZScore}} = \frac{{{Login}\mspace{14mu}{IP}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} - {4\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}{Login}\mspace{14mu}{IP}}}{4\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}{Login}\mspace{14mu}{IP}}$ ${L\; 3\mspace{14mu}{ZScore}} = \frac{{{Login}\mspace{14mu}{IP}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} - {8\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}{Login}\mspace{14mu}{IP}}}{8\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}{Login}\mspace{14mu}{IP}}$

The Z-scores may be combined with weights (w1 . . . w3) assigned to each score, as follows: L Combined=(w1×L1 ZScore)+(w2×L2 ZScore)+(w3×L3 ZScore)

In some examples, the sum of the weights is one. Weights that are applied may be calculated dynamically depending on when the calculation is performed. For example, at day one, default baselines may be applied using values calculated based on existing data, including a default Avg (average) and default Stddev (standard deviation). As a further example, for the first week, starting from day two, an L1 Z-Score is available, so that the weights can be set to w1=1, w2=0, w3=0. Continuing with the example, after five weeks, L1 and L2 Z-Scores are available, and the weights can be set to w1=0.4, w2=0.6, w3=0. After 14 weeks, L1, L2, and L3 Z-Scores are available, so that the weight can be set to w1=0.2, w2=0.3, w3=0.5. An anomaly condition in the variation in login IP addresses may be defined as L_Combined>T where T is a threshold. The threshold can be determined from previous data and/or can be modified over time.

Algorithm 2 is an example of an algorithm that can be used to detect failed login IP address variations. Z-Scores may be calculated for a login IP address feature vector over different time periods, here illustrated as one week, four weeks, and eight weeks, as an example:

${L\; 1\mspace{14mu}{ZScore}} = \frac{{{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} - {1\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}}}{1\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}}$ ${L\; 2\mspace{14mu}{ZScore}} = \frac{{{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} - {4\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}}}{4\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}}$ ${L\; 3\mspace{14mu}{ZScore}} = \frac{{{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} - {8\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}}}{8\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}{Failed}\mspace{14mu}{Login}\mspace{14mu}{IP}}$

The Z-scores for the failed login IP addresses may be combined with weights (w1 . . . w3) assigned to each score, as follows: L Combined=(w1×L1 ZScore)+(w2×L2 ZScore)+(w3×L3 ZScore)

In various examples, weights that are applied may be calculated dynamically depending on when the calculation is performed. For example, at day one, default baselines may be applied using values calculated based on existing data, including a default Avg (average) and default Stddev (standard deviation). In this example, the weights can be varied as the weeks progress, as provided in the example of Algorithm 1. An anomaly condition in the variation in login IP addresses may be defined as L_Combined>T where T is a threshold. The threshold can be determined from previous data and/or can be modified over time.

In various examples, anomalous activity that is detected for a user of one cloud service can be used by the threat detection engine 302 to calculate or re-calculate the likelihood of a threat in the use of another cloud service. In this way, new events occurring during the use of one cloud service can be screened proactively to detect and/or predict threats in the use of another cloud service. In various examples, multiple data points across different cloud services can be correlated to increase the accuracy of a threat score.

Algorithm 3 provides an example of an algorithm that can be used for analytics of multiple application behavior. In algorithm 3, user IP addresses associated with various cloud service activities (such as logging in) are resolved to geolocation coordinates IP1 (Latitude 1, Longitude 1), IP2 (Latitude 2, Longitude 2), IP3 (Latitude 3, Longitude 3), etc. If a user has different usernames with different cloud services, the various usernames associated with that user can be mapped to a unique user specific identity that identifies the user across the services. The distance between any two IP addresses used for logins (e.g., login attempts, successful logins, and/or failed logins) with any of a number of cloud service (e.g., Amazon Web Services, Box, Salesforce, etc.) can be calculated using any of a variety of distance measurements and/or formulas. In some examples, the distance d is calculated using the Haversine Distance formula, as follows:

     Diff_(Long) = Longitude 2 − Longitude 1      Diff_(Latitude) = Latitude 2 − Latitude 1 $a = {\left( {\sin\left( \frac{{Diff}_{Latitude}}{2} \right)} \right)^{2} + \left( {{{\cos\left( {{Latitude}\; 1} \right)} \times {\cos\left( {{Latitude}\; 2} \right)} \times \left( {\sin\left( \frac{{Diff}_{Long}}{2} \right)} \right)^{2}\mspace{76mu} c} = {{2 \times {atan}\; 2\left( {\sqrt{a},\sqrt{1 - a}} \right)\mspace{76mu} d} = {R \times c}}} \right.}$

In the equation for d, R is the radius of the Earth.

Z-Scores can be calculated to determine deviation of user behavior over different time periods using maximum distances as calculated above. As an example, time periods of 1 week, 4 weeks, and 8 weeks are shown:

${L\; 1\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Max}\mspace{14mu}{dist}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {1\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {{Max}\mspace{14mu}{dist}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{1\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}\left( {{Max}\mspace{14mu}{dist}\mspace{14mu}{between}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{IP}\mspace{14mu}{per}\mspace{14mu}{day}} \right)}$ ${L\; 2\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Max}\mspace{14mu}{dist}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {4\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {{Max}\mspace{14mu}{dist}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{4\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}\left( {{Max}\mspace{14mu}{dist}\mspace{14mu}{between}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{IP}\mspace{14mu}{per}\mspace{14mu}{day}} \right)}$ ${L\; 3\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Max}\mspace{14mu}{dist}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {8\mspace{14mu}{wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {{Max}\mspace{14mu}{dist}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{8\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}\left( {{Max}\mspace{14mu}{dist}\mspace{14mu}{between}\mspace{14mu}{IP}\mspace{14mu}{Login}\mspace{14mu}{IP}\mspace{14mu}{per}\mspace{14mu}{day}} \right)}$

The Z-scores may be combined with weights (w1 . . . w3) assigned to each score, as follows: L Combined=(w1×L1 ZScore)+(w2×L2 ZScore)+(w3×L3 ZScore)

In various examples, weights that are applied may be calculated dynamically depending on when the calculation is performed. For example, at day one, default baselines may be applied using values calculated based on existing data, including a default Avg (average) and default Stddev (standard deviation). In this example, the weights can be varied as time progresses, as provided above. An anomaly condition in the variation in login IP addresses may be defined as L_Combined>T where T is a threshold. The threshold can be determined from previous data and/or can be modified over time.

Algorithm 4 provides an example of an algorithm for determining variations in the browser or operating system (OS) used when a cloud application is accessed. Z-Scores may be calculated using a feature vector that represents a count of the number of different browsers or operating systems used when accessing a cloud application, where the accesses occurred over various time periods. Periods of one week, four weeks, and eight weeks are used below, as an example:

${L\; 1\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{\left\{ {{Browser},{OS}} \right\}{counts}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {1\mspace{14mu}{Wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {\left\{ {{Browser},{OS}} \right\}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{1\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}\left( {\left\{ {{Browser},{OS}} \right\}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)}$ ${L\; 2\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{\left\{ {{Browser},{OS}} \right\}{counts}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {4\mspace{14mu}{Wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {\left\{ {{Browser},{OS}} \right\}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{4\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}\left( {\left\{ {{Browser},{OS}} \right\}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)}$ ${L\; 3\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{\left\{ {{Browser},{OS}} \right\}{counts}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {8\mspace{14mu}{Wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {\left\{ {{Browser},{OS}} \right\}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{8\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}\left( {\left\{ {{Browser},{OS}} \right\}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)}$

The Z-scores may be combined with weights (w1 . . . w3) assigned to each score, as follows: L Combined=(w1×L1 ZScore)+(w2×L2 ZScore)+(w3×L3 ZScore)

In various examples, default baselines can be initially applied, and as time progresses, the weights can be varied as more data becomes available. An anomaly condition in the variation in login IP addresses may be defined as L_Combined>T where T is a threshold. The threshold can be determined from previous data and/or can be modified over time.

Algorithm 5 provides an example of an algorithm for determining variations in the number of downloads from a cloud application. Z-Scores may be calculated using a feature vector representing a count of the number of downloads for a user account over various time periods, such as one week, four weeks, and eight weeks, as provided in the following example:

${L\; 1\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Download}\mspace{14mu}{counts}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {1\mspace{14mu}{Wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {{Download}\mspace{14mu}{ounts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{1\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}\left( {{Download}\mspace{14mu}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)}$ ${L\; 2\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Download}\mspace{14mu}{counts}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {4\mspace{14mu}{Wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {{Download}\mspace{14mu}{ounts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{4\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}\left( {{Download}\mspace{14mu}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)}$ ${L\; 3\mspace{14mu}{ZScore}} = \frac{\begin{matrix} {{{Download}\mspace{14mu}{counts}\mspace{14mu}{past}\mspace{14mu} 24\mspace{14mu}{hrs}} -} \\ {8\mspace{14mu}{Wk}\mspace{14mu}{Avg}\mspace{14mu}\left( {{Download}\mspace{14mu}{ounts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)} \end{matrix}}{8\mspace{14mu}{Wk}\mspace{14mu}{Stddev}\mspace{14mu}\left( {{Download}\mspace{14mu}{counts}\mspace{14mu}{per}\mspace{14mu}{day}} \right)}$

The Z-scores may be combined with weights (w1 . . . w3) assigned to each score, as follows: L Combined=(w1×L1 ZScore)+(w2×L2 ZScore)+(w3×L3 ZScore)

In various examples, default baselines can be initially applied, and as time progresses, the weights can be varied as more data becomes available. An anomaly condition in the variation in login IP addresses may be defined as L_Combined>T where T is a threshold. The threshold can be determined from previous data and/or can be modified over time.

In various examples, scores such as those illustrated above, as well as other indicators, can be used to compute a risk score, which is also referred to herein as a measure of security. In various examples, the threat detection engine 302 can compute a risk score for a user, a group or category of users, a service, and/or a service provider. A risk score can indicate a degree of security risk. For example, a scale from one to five can be defined, where a higher value indicates that a user or a service poses a higher security risk for an organization.

Indicators used to compute a risk score can provide a particular risk factor, also in the form of a score. For example, an outcome of anomaly detection can include an indicator in the form of a score that indicates a degree of deviation from the norm and/or a degree of risk the anomaly poses to the organization. In some examples, each anomaly associated with the same user or the same service can be used as a separate indicator. In various examples, other indicators that can be used to compute a risk score can be associated with a user, a service, a service provider, a geolocation where the user appears to be located, a domain where the user appears to be located, a time of day or day of the week or time of the year, or another factor. An indicator for a user can be obtained, for example, from the organization with which the user is associated, from a reputation site, from social media sites, from news organizations, or from another source. An indicator for a service or service provider can be obtained, for example, from threat intelligence aggregators or distributors, who may track the reputation of a service or service provider. Other indicators may be provided by internal threat intelligence data 314.

In various examples, a risk score can be computed as a weighted sum of the available indicators. For example, given indicators “I₁, I₂, . . . , I_(n)” a risk score can be computed using the equation:

${{risk}\mspace{14mu}{score}} = \frac{{I_{1}W_{1}} + {I_{2}W_{s}} + \cdots + {I_{n}W_{n}}}{W_{1} + W_{2} + \cdots + W_{n}}$

In the preceding equation, “W₁, W₂, . . . W_(n)” are weights. In various examples, a weight value can indicate the relative importance of an indicator, with less important indicators receiving a lower weight value.

In some examples, the analytics engine 300 may obtain feedback on the validity and/or accuracy of a risk score. As an example, network administrators of an organization can provide feedback. As another example, administrators of the security management and control system can provide feedback. Alternatively or additionally, in some examples, feedback can be obtained using automated machine learning algorithms, such as decision trees and neural networks. In some examples, the analytics engine 300 can adjust weights, indicators, and/or sources using the feedback, including possibly removing sources or indicators. In these and other examples, the threat detection engine 302 can compute a new risk score with the adjusted indicators and weights.

In various examples, the threat detection engine 302 can perform regression analysis on each indicator used to compute a risk score, and/or on the risk score. Regression analysis may include building and updating a linear regression model. A linear regression model may provide output such as S=c₁(I₁)+c₂(I₂)+ . . . +c_(n)(I_(n)). The coefficients c_(i) computed by the regression model could be new or modified weights that would replace the initial weights for computing the risk score. The model can provide greater accuracy as more feedback and more data is collected.

In various examples, the analytics engine 300 can perform various other analytics 306 on the activity data 310 obtained from service providers. In some examples, various types of algorithms can be particularly useful for analyzing the data. Decision tree, time series, naive Bayes analysis, and techniques used to build user behavior profiles are examples of machine learning techniques that can be used to generate predictions based on patterns of suspicious activity and/or external data feeds. Techniques such as clustering can be used to detect outliers and anomalous activity. For example, a threat can be identified based on an account accessing one or more files or failing a series of login attempts from an IP address that is flagged (by a third party feed or otherwise) as malicious. In a similar way, a threat can also be based on different patterns of activity with one cloud application or across multiple cloud applications, possibly over time.

One class of analytics that may be generated is descriptive or statistical analytics. Statistical data can be generated using a pre-defined set of system queries, such as, for example, MapReduce jobs and Spark and Apache Hive queries, among others. Descriptive analytics can be generated either for a single service or across multiple services using correlation techniques. Examples of reports that can be generated include, for example, login statistics (e.g., users with the most failed logins, IP address-based login history including consideration of IP reputation, geolocation, and other factors), user statistics (e.g., users with the most resources [files, EC2 machines, etc.], entitlements across clouds, number of changed passwords, and so on), activity statistics (e.g., activity of a user across clouds), statistics on key rotation (e.g., whether SSH keys have been rotated within the last thirty days, and so on), and resource statistics (e.g., number of folders, files downloaded by users, files downloaded by roaming or mobile users, and so on), among others. Various statistical analysis techniques can be used, such as mean, standard deviation, regression, sample size determination, and hypothesis testing, among others. Trends may be identified, such as login activity within a certain time period, password related support issues based on past history of such issues, or identifying types of mobile devices which see the most activity within a certain time period. Data in a report can be displayed on a user interface as an event viewer showing a “wall” of events along with actions that a user can take in response to or to remediate an event. Alerts can be constructed based on pre-defined rules that can include specific events and thresholds.

Another class of analytics that can be generated is predictive and heuristic analytics. These may incorporate machine learning algorithms to generate threat models, such as, for example, deviations from base line expectations, rare and infrequent events, and behavior analytics to derive suspicious behavior of a user, among others. Algorithms and profiles can be trained to intelligently predict whether an unusual behavior is a security risk. Third-party feeds from providers such as, but not limited to, MaxMind, FireEye, Qualys, Mandiant, AlienVault, and Norse STIX can be integrated to augment the threat intelligence. These third-party feeds can provide external information about and relating to potential security threats such as, for example, IP address reputation, malware, identification of infected node points, vulnerable web browser versions, use of proxy or Virtual Private Network (VPN) server by a user, and known attacks on clouds. In some examples, threat information is expressed in the Structured Threat Information eXpression (STIX) data format. For example, one or more services may contribute information concerning a particular IP address, such as a reputation (e.g., known for having software vulnerabilities, a host of malicious software, or source of attacks) and/or a geographic location associated with the IP address. This information can be combined with retrieved activity data involving the IP address, such as what time logins were attempted from that IP address, and information derived from activity data, such as how far apart the logins attempts were. These factors can be used to determine a “login velocity” metric. Metrics can be determined for other activities such as file accesses, sales transactions, or instances of virtual machines.

Clustering and regression algorithms can be used to categorize data and find common patterns. For example, a clustering algorithm can put data into clusters by aggregating all entries of users logging in from a mobile device. Predictive analytics can also include identifying threats based on activity such as a user not accessing a particular cloud application in several months and then showing high activity in the next month or a user downloading one file every week for the past several weeks, demonstrating a potential advanced persistent threat (APT) scenario. In some examples, data collected over time is used to build models of normal behavior (e.g., patterns of events and activity) and flag behavior that deviates from normal as abnormal behavior. After one or more flagged events or activities is characterized as a true or false positive (e.g., by user feedback), the information can be provided back to one or more machine learning algorithms to automatically modify parameters of the system. Thus, machine learning algorithms can be utilized in at least the ways discussed above to make recommendations and reduce false alarms (false positives). Activity data collected from various parameters over a period of time can be used with machine learning algorithms to generate patterns referred to as user behavior profiles. The activity data can include contextual information such as IP address and geographic location.

In various implementations, an algorithm can simulate normal user activities using previously acquired user activity data. For example, the tenant base lines 317 can include records of users' past use of a cloud service. The simulation can be used to train other machine learning algorithms to learn the normal behavior of an organization's users. In general, a particular security issue may not always repeat, and hence may not be detected by a purely supervised algorithm. However, techniques such as outlier detection can establish a baseline that is useful for detecting anomalous activities. Such anomalous activities along with contextual threat intelligence can provide more accurate prediction of threats with low prediction errors.

In various implementations, the other analytics 306 can include detection of security controls drift, which can refer to the changing of one or more security controls in a seemingly arbitrary manner, which can increase security risks. In some examples, a risk event can be generated in response to the change in a security control of a cloud service, as well as actionable intelligence associated with the risk event. Threats can include activity, events, or security controls that are abnormal or noncompliant with respect to use of an application. As an example, a tenant's password policy in a cloud application may have been changed to impose fewer requirements (e.g., type and/or number of characters). This may generate a risk event and alert to recommend that the password policy be changed back to the original password policy.

In various implementations, the analytics engine 300 can include a recommendation engine 308 that receives the output of the threat detection engine 302, the behavioral analytics engine 304, and the other analytics 306. In various examples, the recommendation engine 308 can raise alerts 322, make recommendations 324, automatically perform actions 326, and provide visualizations 328 that an organization can use to understand the organization's use of a cloud service, detected security risks, and remediation of the security risks, among other things.

In various examples, alerts 322 can be provided in visualizations 328 that can be viewed using a user interface that is accessible to an organization. Alternatively or additionally, alerts 322 can be provided through other communication channels, such as email, text messages, Short Message Service (SMS) messages, voicemail, or another communication method. In some examples, alerts 322 can be communicated as secure messages (e.g., over a secure communication channel or requiring a key or login credentials to view).

An alert can include information about a detected event such as, for example, an event identifier, a date, a time, a risk level, an event category, a user account and/or security controls associated with the event, a service associated with the event, a description of the event, a remediation type (e.g., manual or automatic), and/or an event status (e.g., open, closed) among other information. Information in an alert about each risk event can include, for example, an identifier for the affected cloud service or instance a category, a priority, a date and time, a description, a recommended remediation type, and/or a status, among other information. A risk event may also have a user-selectable action, such as editing, deleting, marking status complete, and/or performing a remediation action. Selection of a remediation action may invoke an application such as the incident remediation application and/or cloud seeder application to perform the selected remediation. An alert and/or other information concerning an identified threat can be sent to an entity external to security monitoring and control system.

In some examples, counts of events in different event categories over time can be provided as a graphical visualization, such as a chart. The chart may display, for example, a count of events by date in each of the color coded categories such as activities at an unusual time, after-hours downloads, failed logins, etc. The visual representation (e.g., a line) of an event category can be toggled on and off. In some examples, threats can also be displayed in a summary view.

In some examples, when the network administrators of an organization receive alerts 322, the network administrators may take remediation actions from within the organization's network. In these examples, the security management and control system may maintain an alert in an “open” state until the network administrators repot that the alert can be closed.

In various examples, the recommendation engine 308 can also determine recommendations 324 when the threat detection engine 302 or the other analytics 306 flag an event that requires attention. A recommendation can include, actions that can be taken to further investigate a suspicious event or to remediate (e.g., take corrective actions against) a suspicious event. In various examples, recommendations 324 can be presented to network administrators of an organization in visualizations 328, presented in a user interface. Alternatively or additionally, the recommendations 324 can be presented through other forms of communication, such as email, text messages, SMS messages, voicemails, and so on. In various examples, the network administrators of the organization can choose to activate a recommended action, which can cause the security management and control system to perform the actions.

In various examples, the recommendation engine 308 can use association rule learning can to generate recommendations. In some examples, the recommendation engine 308 can use profile linking algorithms to link activities across multiple cloud applications by finding cross-service correlation. A single user can be identified across multiple cloud service using one or more attributes or identification factors, such as a primary user identifier that is commonly used across the clouds or a single sign-on (SSO) authentication mechanism (e.g., Active Directory, Okta, etc.). Examples of correlation of activities across applications find a user logged into two cloud services simultaneously from different IP addresses, find a user who performs several failed login attempts and subsequently changes the user's password, and users who frequently have with numerous failed logins for two or more cloud services, among other examples.

In various examples, the recommendation engine 308 can also determine actions 326, including remediation actions, which the security management and control system will automatically perform. In various examples, the organization can configure to automatically perform remediation actions when the analytics engine 300 detects certain security events. Examples of remediation actions include deactivating an account, resetting a password, or setting stronger security controls, among others. In these and other examples, the remediation actions may include modifying a security setting of a service affected by the security incident, or of another service. In the latter case, the analytics engine 300 may determine that the other service may be affected, or should otherwise be secured when the security incident is detected.

In some examples, an organization may use a third-party incident management automation systems such as, for example, ServiceNow or IBM QRadar, among others. In these examples, the security management and control system may be able to interface with the third-party incident management system to remediate security incidents. For example, the incident management systems may have an API through which the security management and control system can interact with the incident management systems. In this and other examples, an action determined by the recommendation engine 308 can include sending an alert and/or other information about a security incident to an incident management system, which can track and possibly also remediate the incident. The incident management system may return a status to the security management and control system (e.g., complete or not complete). In this way, remediation may be delegated to an external system with the results reported back to the security management and control system to “close the loop.” For example, if a password reset is desired for a user account, an action can include sending an alert or message to an organization's internal Information Technology (IT) system managing the user account. An administrator or system may complete the password reset operation and report the status as completed back to the cloud security system.

FIG. 4 is a diagram that illustrates an example computing environment 400 suitable for implementing a cloud-based threat detection system. The computing environment 400 may include service provider 110, a security system 450, and an organization 130. Components of the service provider 110, and the organization 130 have been generally described by FIGS. 1-3 and corresponding paragraphs of this disclosure. In some examples, security system 450 may include one or more or all parts of security system 102.

In the illustrated example, the security system 450 includes a central controller 402, a threat memory 404, a security policies storage 406, a service provider information storage 408, and a tenant information storage 410. The central controller 402 may perform processing functionalities associated with the security system 450. In some examples, the central controller 402 may perform processing functionalities related to one or more parts of the scanner 174, the pattern analyzer 176, the learning system 178, the data accesser 182, the data analysis system 136, the info handler 138, the mapping generator 170, the control manager 172 and/or the log collector 134, as illustrated in FIG. 1 . The central controller 402 of FIG. 4 may comprise at least one memory and one or more processing units.

The threat memory 404 may store flagged actions associated with one or more user accounts. A flagged action may be an action of interest taken by a user, via a client device, during the use of a cloud-based service, during the use of the client device, or during the use of any data generated or related to a cloud-based service. An action of interest may be an action that, taken in combination with other actions (or a prior action), may together constitute a violation of a security rule. The threat memory 404 may also store additional information with each flagged action, such as a timestamp that indicates when the flagged action occurred and/or any other data that may be used by the central controller 402 (or other parts of the computing environment 400) to identify parts of the flagged action. The central controller 402 may query the threat memory 404 to retrieve information stored in the threat memory 404. The threat memory 404 may be implemented using a non-volatile memory.

The security policies storage 406 may store security policies (e.g., security rules) associated with one or more service provider applications, one or more service providers, and/or one or more organizations. A security policy defines an action or set of actions (i.e., an event) that, when detected, in combination with other factors (e.g., time requirements and threshold action requirements, among other requirements) may constitute a security violation or an event that otherwise requires attention. In some examples, actions that are defined by a policy can occur through use of one service, meaning that all the actions were performed by a user while using a single service. In some examples, the actions can occur during a user's use of multiple services, where the services are provided by the same service provider or by multiple service providers. In some examples, a security policy can also define one or more remediation actions to perform when a violation of the policy is detected. In some examples, security policies may be customized for each service provider, each service provider application, and/or each organization that is associated with the security system 450. For example, the cloud-based service 112 a of FIG. 1 may have a different set of security policies than the cloud-based service 112 b even though the same service provider offers both the cloud-based service 112 a and the cloud-based service 112 b. In some examples, securities policies storage 406 of FIG. 4 may include one or more parts of the security information 126. The central controller 402 may query the security policies storage 406 to retrieve information stored in the security policies storage 406. The security policies storage 406 may be implemented by non-volatile memory.

The service provider information storage 408 may store information associated with one or more services provided by service providers and/or one or more applications associated with one or more service providers. The service provider information storage 408 may include one or more parts of the domain information 128 and/or the application information 132, as illustrated in FIG. 1 . For example, service provider information storage 408 of FIG. 4 may include, in a memory, a network address or location of one or more service providers, identification information for an owner or operator of the one or more service providers (e.g., the person or organization that owns and/operates the service providers), and information for verifying the identity of the one or more service providers. The service provider information storage 408 may also contain a configuration file related to one or more services provided by a service provider. In some examples, the configuration file may be a script or executable file that when executed by one or more parts of a computer system associated with a service provider, modifies one or more aspects of a service provider's security. For example, an executable configuration file, when executed, may modify the security of one or more services provided by a service provider such that certain user accounts may be restricted from accessing the one or more services. In another example, the configuration file, when executed, may modify the security of one or more services provided by a service provider such that certain user accounts may have limited access to the or more services provided by the service provider. In another embodiment, the configuration file, when executed, may modify the security of one or more services provided by a service provider such that users associated with certain user accounts may have to provide additional authentication information (e.g., biometric information, additional passwords, and the like). The central controller 402 may query the service provider information 408 to retrieve information stored in the service provider information storage 408. The service provider information storage 408 may be implemented using non-volatile memory.

The tenant information storage 410 may store information associated with organization 130. The tenant information storage 410 may store tenant account information associated with one or more service providers and user account information associated with the tenant account. In some examples, tenant account information may include security parameters for the firewall 108. In some examples, the tenant information storage 410 may comprise one or more parts of the tenant configuration information 124. The central controller 402 may query the tenant information 410 to retrieve information stored in the tenant information storage 410. The tenant information storage 410 may be implemented by non-volatile memory.

The security system 450 may communicate with the service provider 110 and the organization 130 via the network 150. The service provider 110 may provide activity data to the security system 450 that indicates actions taken by users associated with user accounts during the use of services provided by the service provider 110. The user accounts may be associated with a tenant account for the organization 130. For example, the organization 130 may utilize a cloud-based document service provided by the service provider 110. The cloud-based document service may be a cloud-based service for word-processing and document storage. The organization 130 may have a tenant account for the cloud-based document service and within that tenant account there may be individual user accounts.

In various examples, each user account may have an account type, permission level, and/or a user identifier. The account type may identify a role of a corresponding account. For example account type may identify an employee account, a manager account, service account and the like. A service account may be an account dedicated to performing automated tasks via APIs. In some examples a service account may perform routine tasks such as downloading documents from the cloud-based document service to one or more local storage locations internal to the organization 130. A permission level may indicate one or more access privileges associated with a user account. For example, a permission level of “high” may enable a user to access documents with a high permission level or lower, while a permission level of medium may enable a user to access documents with a medium permission level or lower. A user identifier may be any piece of data that uniquely identifies a user account. For example, a user identifier may be an email address, username, alphanumeric number, or some other unique identifier.

After receiving activity data from the service provider 110, the security system 450 may determine whether any security violations have occurred, using security policies indicated in the security policies storage 406. The security system 450 may analyze one or more activity logs from a user's use of one or more cloud-based services. An activity log may detail one or more actions taken by a user, via a client device, when utilizing a cloud-based service. A second activity log may detail one or more actions taken by the user, via the client device, when utilizing a second cloud-based service. The security system 450 may flag one or actions of interest in the first and second activity log over a period of time (e.g., 1 year). The security system 450 may determine if a security policy has been violated based upon the cumulative flagged actions of interest associated with a user. By utilizing a cumulative approach to threat detection, security system 450 may be able to identify malicious actions and actors that segment their actions across different platforms and/or over a long period of time. In one example, activity logs may be retrieved by the security system 450 periodically (e.g. once per day, twice per day, once every 36 hours, etc.) such that a security violation may include actions indicated in a plurality of activity logs.

______ what about actions of different users in 1) same service 2) different services

Once a violation has been determined, the security system 450 may perform one or more actions. An action may be to edit a configuration file associated with the service provider 110, such that when executed, causes various access control parameters associated with one or more services to be modified. For example, the security system 450 may modify a configuration file associated with the service provider 110, such that when executed, the service provider 110 may deny access to a cloud-based service to one or more user accounts. In such an example, the security system 450, not the service provider 110, may create security updates.

In some examples, an action may be to edit one or more security parameters in the firewall 108 to restrict access to one or more services provided by service provider 110. Inside the organization 130, the firewall 108 may control communications to and from the organization 130. The security system 450 may modify (e.g., via a configuration file) security parameters of firewall 108 to prevent certain client devices associated with certain user accounts from establishing a connection with one or more services provided by the service provider 110. In some examples, the firewall 108 may comprise a whitelist (or blacklist) of domains that may be accessed by a client device associated with a user account. In such an embodiment, a domain associated with a service provided by the service provider 110 may be removed from a whitelist for a client device associated with a user account that has been found to violate one or more security policies. In such an embodiment, the security system 450, not the organization 130, may create security updates. In some examples, the security system 450 may modify both the security parameters of the organization 130 and the service provider 110.

FIG. 5 is a diagram that illustrates an example database schema 500 that may include context categories, contexts, and actions. In some examples schema 500 may be stored in security policies storage 406 of FIG. 4 . Schema 500 may be queried by central controller 402 of security system 450 of FIG. 4 to determine whether activity data, gathered from the use of one or more cloud-based service provider, includes any actions of interest. If one or more actions are identified as actions of interest they may be flagged and stored in the threat memory 404 of FIG. 5 . In some examples, the actions of interest may be indexed by or associated with a user account's user identifier.

The example schema 500 of FIG. 5 includes a context category column 502, a context column 504, and an action(s) column 506. The context category column 502 lists context categories. A context category may be a group identifier that indicates which group a context belongs to. In the illustrated example, the context category column 502 includes, by way of example, an unusual actor context category, an unusual privilege account context category, and a high value data access context category. The unusual actor context category contains actions associated with an user account that may be deemed usual by the security system 450. What is “unusual” may be determined by security system 450 by referencing a user's past actions. For example, if a user normally logs into a service between 9 am and 5 pm then a log-in outside of these hours would be unusual for that particular user. What is unusual may vary from user to user. In one example, The unusual privilege account context category contains actions associated with an user account that has high or unusual privilege. An unusual privilege may be a privilege level that is not common. For example, if only 10% of user accounts have a high privilege level then those user accounts would be classified as unusual privilege accounts. In another example, if only 5% of user accounts have a very high privilege level then those user accounts would be unusual privilege accounts.

The security system 450 may determine what is unusual for a particular user or user account. The security system 450 may parse one or more activity logs to determine one or more actions associated with a user or a user account. The security system 450 may store in a database the actions associated with the user or user account. Periodically, the security system 450 may identify statistical normalities for the user or user account. These statistical normalities may be stored in, for example data store(s) 180 of FIG. 1 . The security system 450 may then detect a deviation from the identified statistical normalities. For example, the security system 450 may parse activity logs associated with a user account. From the parsed data, the security system 450 identifies data indicating that the user account, for the last 6 months, has used a first cloud-based application for sending documents. The security system 450 may store a statistical normality for the user account indicating the user account uses the first cloud-based application for sending documents. Subsequently, the security system 450 may parse activity logs associated with the user account that may indicate the user account has used a second cloud-based application for sending documents. The security system 450 may compare the action of using the second cloud-based application for sending documents to the statistical normality of using the first cloud-based application for sending similar documents. As a result, the security system 450 may identify that the action of using a second cloud-based application to send particular documents is unusual for the user account. In some examples, an usual action may be flagged as an action of interest.

In the illustrated example, the context column 504 lists contexts. A context may be a framework for contextually identifying one or more actions in the action(s) column 506. An action may be an action taken by a user associated with a user account, via a client device, during the use of a service provided by the service provider 110. Each context may have correspond to one or more set of actions. For example, the unusual hours context corresponds to the action of accessing data or services outside of normal hours. For example, if a client device accesses a service provided by the service provider 110 at 9 pm, but usually accesses the service between 9 am and 5 pm, then such an action may be classified as an unusual hours action and may be flagged. In another example, when a user account has a high privilege level then any actions made from the user account that require the high privilege level may be flagged. Flagged actions (i.e. actions of interest) may, by themselves, be less than a security violation. However, the combination of flagged actions may constitute an event that is a security violation.

In some examples, each context or context category may be associated with a weight. This weight may be used when determining a risk score associated with a flagged action and subsequently a risk score associated with a user account. In some examples, a risk score associated with a user account may be used to determine if there is a security violation. For example, a weight associated with an flagged action associated with the unusual privilege account context category may be relatively low (e.g., 10 out of 100) as opposed to a flagged action associated with the unusual actor context category (e.g., 30 out of 100). Furthermore each context (or action) may have a point value associated with it that may be subsequently modified by the weight. For example, the action of accessing data or services outside normal hours may have a point value of 5, which may be subsequently modified by the 30 weight for the unusual actor context category. In another example, the action of accessing data in a sensitive folder may have a point value of 10, which may be subsequently modified by 20 (the weight of high value data access context category). Thus, a user account associated with a user that both accesses data or services outside of normal hours and accesses data in a sensitive folder may have a higher risk score than a user account associated with a user that just accesses data or services outside of normal hours.

The schema 500 may be different for each service provider, each service provider's service, and/or each organization supported by the security system 450. In some examples, context categories and contexts may be the same for each service provider, each service provider's service, and/or organization. In such an embodiment, the actions may differ from service to service. For example, Company Y is the service provider for service A and service B. For all services provided by Company Y there are the same context categories and contexts. However service A has different actions than service B. For example service A may define a sensitive folder as a folder stored in a certain location of memory, but service B may define a sensitive folder as any folder that contains non-published data. Thus, in order for a user account to be flagged (i.e., action of interest) for the sensitive folder context different actions may need to be performed during the use of the different services. In some examples, by having context categories and contexts be universal across services and service providers, the security system 450 may more apt to normalizing multiple actions across different platforms in order to “learn” (via one or more machine learning algorithms) and modify various security rules.

Once an action is flagged, identification information associated with the flagged action and a timestamp of when the action took place may be stored in the threat memory 404. One or more flagged actions associated with a user account may be analyzed by the security system 450 to determine if a user associated with a user account has performed any security violations. By looking at a more than one flagged action associated with a user account it is possible to identify a potential malicious account or actions segmented across a plurality of services and over a period of time. For example, a user account may have certain flagged actions in relation to a first service and different flagged actions in relation to a second service. In such an example, the security system 450 may look at the totality of flagged actions to determine that a user account is a malicious account. In another example, a user account may have certain flagged actions during a first time period and certain flagged actions during a second time period. In such an example, the security system 450 may look at the totality of flagged actions over both the first and second time period to determine that a user account is a malicious account.

FIG. 6 is a diagram that illustrates an example security policies schema 600. The security policies the schema 600 may comprise a plurality of security rules. In some examples, the schema 600 may be stored in the security policies storage 406 of FIG. 4 . The schema 600 may be queried by central controller 402 to determine if there are one or more security violations. In some examples, central controller 402 of may query the threat memory 404 to determine one or more flagged actions associated with a user account. The flagged actions may be determined with reference to schema 500 of FIG. 5 . The central controller 402 of FIG. 4 may compare those flagged actions to one or more rules in the schema 600 of FIG. 6 to determine if a user associated with a user account has committed a security violation.

The schema 600 comprises of a rule ID column 602, a conditions column 604, a time requirements 606 column, a threshold actions column 608, and a resolution column 610. The rule ID column 602 may comprise one or more rule identifiers that identify a rule. The conditions column 604 may comprise conditions for each rule that may trigger a violation of the rule. For example, rule ID 1001 has the condition of risk score >51, which may mean that the flagged actions associated with a user account must have a total risk score above 51. In another example, rule ID 1002 has the condition of a risk score being greater than 76 for service 1 and a risk score being greater than 51 for service 2, which may mean that the flagged actions associated with a user account must have a total risk score above 76 for actions taken during the use of service 1. In addition, flagged actions associated with the user account must also have a total risk score above 51 for actions taken during the use of service 2.

The conditions in the condition column 604 may be flagged actions or actions that are not flagged. In some examples, the conditions in the condition column 604 may require a specific ordered sequence of actions (i.e. ordered set of events). For example, rule ID 1004 has three different conditions that must be met. In some examples, these three conditions must be performed in a sequential order. In such an example, a user associated with an employee account may first log onto a cloud service during unusual hours. Next, the user may copy sensitive data to a private folder (e.g., a private folder on a personal computer or other personal machine). Finally, the user may delete the sensitive data from cloud storage. Once all of these actions are performed in sequence, the conditions of rule 1004 have been met. In some examples, other actions may occur in between the sequence of actions. For example, in between the user logging into a cloud service during unusual hours and the user copying sensitive data to private folder, the user may perform many other actions, such as listening to music, checking email, and the like. By allowing other actions in-between the actions in the condition column 604, the security system 450 may prevent a user from obfuscating malicious activity.

The time requirements column 606 comprises a time requirement associated with each security rule. The time requirement may indicate a period of time which one or more or all of the conditions must be completed. For example, rule ID 1001 has the condition that a risk score associated with a user account must be above 51. Rule ID 1001 also has a time requirement of 2 hours, which may mean that all flagged actions that contribute to the risk score must be performed within a 2 hour window. In some examples, to determine if the time requirement is met, the central controller 402 of FIG. 4 may query the threat memory 404 of FIG. 4 to determine a timestamp associated with a first flagged action used to meet the rule conditions and a timestamp associated with a last flagged action used to meet the rule conditions, and determine if the time difference between the first flagged action and the last flagged action is less than or equal to the time requirement. In some examples, central controller 402 may select any flagged actions that meet the time requirement and the conditions. For example, a first flagged action has a risk score or 25 and is performed at 12 pm, second flagged action has a risk score of 25 and is performed at 1:50 pm, and a third flagged action has a risk score of 25 and is performed at 3 pm.

In such an example, central controller 402 may select the first flagged action and the second flagged action to meet the time requirements and conditions of rule ID 1001 even though the first flagged action and last flagged action (third flagged action) do not, in combination, meet the time requirement. By enabling security system 450 to combine flagged actions with each other outside of sequential order, security system 450 may prevent a user from easily obfuscating malicious activity.

In some examples, the time requirement may non-existent. For example, rule ID 1003 has the condition of repeating a restricted action, which may mean that a user associated with a user account performs an action that has previously been determined to be, on its own, malicious (e.g., uploading a virus). Thus, anytime a user performs, via a client device, such a restricted action their corresponding user account will be found to be in violation of a security rule. In instances in which a specific sequence of events may need to be performed to satisfy a condition, the time requirement may be met based on the time duration between the first action and the last action. For example, rule 1004 requires three specific actions to be done within a 24 hour period. Thus, to meet the time requirement for the rule, the timestamp of the second and third action may be within 24 hours of the timestamp of the first action.

The threshold actions column 608 may comprise a numerical value that indicates the number of actions that may be required to violate a security rule. For example, rule ID 1002 requires 4 threshold actions, which may mean that at least 4 actions may be performed in order to meet the requirements detailed in the conditions column 604. In such an example, the threshold actions may be performed for either service. For example, 3 actions may be performed for service 1 and 1 action may be performed for service 2. In another embodiment, 15 actions may be performed for service 1 and 1 action may be performed for service 2. In some examples, the threshold actions value refers to a number of flagged actions.

The resolutions column 610 may comprise one or more resolutions that may be taken by security system 450 in response to a security rule being violated. In some examples, the conditions in the conditions column 604, the time requirements in the time requirements column 606, and the amount of actions in the threshold actions column 608 must all be satisfied in order for a rule to be violated. Once a security rule is violated, a corresponding resolution may be taken by the security system 450. For example in violation to rule ID 1001, the security system 450 may send a warning to a corresponding service provider and/or to a corresponding organization. The alert may include all information analyzed to determine that a security rule was violated (e.g., flagged actions, rule ID, conditions, time requirements, threshold actions, and the like). In another example, in violation of rule ID 1003, the security system 450 may block a user account's access to all services provided by a corresponding service provider. The security system 450 may block a user account's access by modifying security parameters of the service provider and/or the organization (e.g., modifying access control parameters for the firewall 108 of FIG. 1 ).

In some examples, if the conditions of a rule are met and at least one of the other two requirements are met (i.e. threshold actions requirement or time requirement) then the security system 450 may perform an alternate action to the action detailed in the resolutions column 610. In some examples, the security system 450 may perform a “light” version of a resolution. For example, for rule ID 1002, if the conditions are met and the threshold actions are met, but the time requirement is not met then the security system 450 may temporarily block a user's account's access to service 1 and/or service 2. This temporary blocking is a “light” version of a full blocking as described in the resolutions column 610. As another example, rule ID 1001's resolution is sending a warning to a service provider and/or an organization. A “light” version of this resolution may be sending a client device, associated with the user, a warning.

FIGS. 7 and 8 are flowcharts illustrating example processes 700 and 800, respectively, which can be implemented by the security system, such as the security system illustrated in FIG. 4 . In some examples, one or more parts or all of processes 700 and 800 may be performed by the security system. At 702, the security system 450 of FIG. 4 receives activity data associated with a first source. The activity data may be activity data gathered in relation to one or more user accounts during the use of one or more services provided a service provider. In some examples, the first source may be a service provided by a service provider providing multiple services. For example, a service provider may provide a document management service (e.g., a first source) that stores one or more documents on a cloud-based server. One or more users, via a client device, may use the document management service, and, during the use of the service, activity data may be generated and stored by the security system 450. In some examples, the service provider itself may store the activity data. In another example, an organization having a tenant account with the service provider, with which subsequent user accounts are linked to, may store the activity data. Regardless of which entity stores or creates the activity data, the activity data is received by the security system 450.

At 704, the security system 450 of FIG. 4 scans the received activity data to identify one or more actions to flag. The security system 450 may query the security policies storage 406 of FIG. 4 to retrieve a flagged actions schema that may comprise a plurality of context categories, contexts, and actions. An example of such a flagged action schema is shown in FIG. 5 . The flagged action schema may be retrieved based on the first source associated with the activity data. The security system 450 may store different flagged action schemas that correspond to different service providers and/or services provided by different service providers. The security system 450 may use the information in the flagged action schema to determine if one or more actions in the activity data are actions of interest and should be flagged. If it is determined by the security system 450 that one or more actions should be flagged, the security system 450 may flag an action and store the flagged action along with information about the action (e.g., timestamp, user account associated with the action, etc.) in the threat memory 404 of FIG. 4 .

At 706, the security system 450 of FIG. 4 queries policies stored in memory to determine a plurality of security rules to determine if a security violation has occurred. The security system 450 may query the security policies storage 406 of FIG. 4 to retrieve security rules schema that may comprise a plurality of security rules. An example of such a security rules schema is shown in FIG. 6 . The security rules schema may be retrieved based on the first source associated with the activity data. The security system 450 may store different security rule schemas that correspond to different service providers and/or services provided by different service providers. The security system 450 may use the information in security rules schema in combination with the information from the threat action memory 404 of FIG. 4 to determine if one or more security rules in the schema have been violated. For example, the threat memory 404 may store one or more flagged actions associated with a user account. These flagged actions may be continuously monitored to determine if one or more flagged actions constitutes a breach of a security rule.

If at 706, a security violation has occurred, then at 708, the security system 450 of FIG. 4 may perform one or more resolutions as indicated in the security rules schema (at 706). Depending on the security rule that has been breached (i.e., security violation), the security system 450 may take different remedial actions (i.e., resolutions.) Various example remedial actions are detailed in FIG. 6 and corresponding paragraphs. If at 706, a security violation has not occurred, then process 700 may move to 802 of process 800. In some examples, a security violation may not occur if the time requirements and/or threshold action requirements are not met for a security rule. For example, the conditions of a security rule may be satisfied (e.g., a risk score >51) but the time requirements (e.g., 2 hours) and/or threshold actions (2 flagged actions) may not be satisfied.

At 802, security system 450 of FIG. 4 receives additional activity data associated with a second source. The additional activity data may be activity data gathered in relation to one or more user accounts during the use of one or more services provided a service provided. In some examples, the activity data (at 702 of FIG. 7 ) may be associated with a first user account and the additional activity data (at 802) may be associated with a second user account. The first and second user accounts may be associated with the same user or may be associated with two different users. By utilizing data associated with multiple accounts associated with a single user, the security system 450 may be able to determine a security violation that spans multiple user accounts, which may be especially helpful if a single user controls multiple accounts. Similarly, by utilizing data associated with multiple accounts associated with multiple users, the security system 450 may be able to determine a security violation for a second account based on flagged actions in a first account. The security system 450 may “learn” characteristics of malicious accounts or actions based on activity data with a first account and “apply” the learned characteristics to detect a malicious second account.

In some examples, the first source may be a service provided by a service provider providing multiple services and the second source may be a second service provided by the service provider or the second source may be a service provided by a completely different service provider. For example, a service provider may provide a document management service (e.g., a first source) that stores one or more documents on a cloud-based server. The service provider may also provide an email service (e.g., a second source) that creates and manages email messages. One or more users, via a client device, may use the document management service, and during the use of the service, activity data may be generated and stored by the security system 450 of FIG. 4 . In addition, one or more users, via a client device, may use the email service, and during the use of the email service additional activity data may be generated and stored by the security system 450 of FIG. 4 . In some examples, the service provider itself may store the additional activity data. In another example, an organization affiliated with the user accounts may store the additional activity data. After the additional activity data is generated it is then sent to the security system 450.

At 804, the security system 450 of FIG. 4 scans the received additional activity data to identify one or more actions to flag. The security system 450 may query the security policies storage 406 of FIG. 4 to retrieve a flagged action schema that may comprise a plurality of context categories, contexts, and actions. An example of such a flagged action schema is shown in FIG. 5 . The flagged action schema may be retrieved based on the second source associated with the additional activity data. The security system 450 may store different flagged action schemas that correspond to different service providers and/or services provided by different service providers. In some examples, the same flagged action schema may be used at 704 of FIG. 7 and at 804. The security system 450 may use the information in the flagged action schema to determine if one or more actions in the additional activity data are actions of interest and should be flagged. If it is determined, by the security system 450, that one or more actions should be flagged, security system 450 may flag the one or more actions and store the flagged action(s) along with information about the action(s) (e.g., timestamp, user account associated with the action, etc.) in the threat memory 404 of FIG. 4 .

At 806, the security system 450 of FIG. 4 queries policies stored in memory to determine a plurality of security rules to determine if a conditions of a security rule have been met. The security system 450 may query security the policies storage 406 of FIG. 4 to retrieve a security rules schema that may comprise a plurality of security rules. An example of such a security rules schema is shown in FIG. 6 . The security rules schema may be retrieved based on the second source associated with the additional activity data. The security system 450 may store different security rules schemas that correspond to different service providers and/or services provided by different service providers. In some examples, the first source and second source are associated with a single service provider and the same security rules schema may be utilized at 706 of FIG. 7 and 806 . In some examples, two difference service providers may be associated with the first and second services. In such an embodiment, two different schemas may be retrieved at 806. The security system 450 may use the information in a security rule schema (or security rule schemas) in combination with the information from the threat action memory 404 of FIG. 4 to determine if one or more security rules in the security rules schema (or security rules schemas) have been violated. For example, the threat memory 404 may store one or more flagged actions associated with a user account. The flagged actions for a user account may be associated with the first source and/or the second source. These flagged actions may be continuously monitored to determine if a culmination of flagged actions constitutes a breach of conditions of a security rule stored in one or more security schemas.

If at 806, conditions of a security rule have been met, then at 808, security system 450 of FIG. 4 determines if the time requirement of a security rule has been met. A security rule (as illustrated in FIG. 6 ) may have a time requirement. In some examples, the conditions of a security rule must be met within a defined time period to constitute a security rule breach (i.e., security violation). The security system 450 may query the threat memory 404 FIG. 4 to retrieve the one or more flagged actions which meet the conditions of a security rule. The security system 450 may also retrieve a timestamp with each of the one or more flagged actions to determine when each of the one or more flagged actions occurred. Using these timestamps, the security system 450 may determine if the flagged actions (that met the conditions in question) occurred within a defined time period associated with the security rule.

If at 808, conditions of a security rule have been met within a defined time period as detailed by the security rule, then, at 812, the security system 450 FIG. 4 performs a first action. The first action may be one or more actions detailed by the security rule. For example, as depicted in FIG. 6 , a security rule may detail one or more resolutions that may be performed by the security system 450, when a security rule is violated. In one example, the first action may be the action indicated by a corresponding security rule. In some examples, the first action may be for the security system 450 to perform actions alternative to the resolution indicated by the corresponding security rule. For example, a first action could be for security system 450 to determine if the flagged actions that met the conditions of the security rule also have the required number of actions. For example, as depicted in FIG. 6 , a security rule may require a certain required amount of flagged actions. If the amount of flagged actions are met, then the security system 450 may subsequently perform the resolution indicated by the corresponding security rule. If the amount of flagged actions are not met, then, in some examples, the security system 450 may not perform the actions detailed in a security rule's resolution, but instead the security system 450 may perform a “light” resolution. For example, the security system 450 may send an alert to a service provider or an organization associated with a user account associated with the flagged actions. Such an alert may detail that one or more actions associated with the user account did not violate a security rule, but the user account should be monitored. In another example, as a “light” resolution, if the amount of flagged actions are not met, then the security system 450 may elevate a base risk score associated with a user account. For example, a typical user account may have a base risk score of zero, but some user accounts may have a higher base risk score because they have previously taken one or more actions that have been flagged. The elevated base score may last an extended period of time (e.g., 1 month, 1 year, etc.)

If at 808, conditions of a security rule have been met but not within a defined time period as detailed by the security rule, then, at 810, the security system 450 FIG. 4 performs a second action. In some examples, the section action may be to send an alert to a service provider or an organization associated with a user account that is associated with the flagged actions. Such an alert may detail that one or more actions associated with the user account did not violate a security rule, but the user account should be monitored. In another embodiment, for a second action, the security system 450 may elevate a base risk score associated with a user account. For example, a typical user account may have a base risk score of zero, but some user accounts may have a higher base risk score because they have previously taken one or more actions that have been flagged. The elevated base score may last an extended period of time (e.g., 1 month, 1 year, etc.)

If at 806, conditions of a security rule have been have not been met then at 814, the security system 450 FIG. 4 continues to monitor activity data and additional activity data for security violations. The security system 450 may continue to flag actions and store flagged actions associated with user accounts during the use of one or more services provided by a service provider. In some examples, the security system 450 may remove flagged actions associated with a user account after a certain amount of time since the occurrence of the flagged action. For example, if a user account has a flagged action for logging into a service from an unusual access location, the flagged action may be kept in the threat memory 404 of FIG. 4 for a certain period of time (e.g., 24 hours, 2 days, etc.) before it is removed. However, other flagged actions that may be considered more severe may be kept in the threat memory 404 for a longer period of time. For example, if a flagged action is malicious activity inside social media (as detailed in FIG. 5 ) then such a flagged action may be kept in threat memory 404 for a longer period of time (e.g. 1 month, 2 months, etc.) By continuously updating the threat memory 404, the security system 450 may identify one or more security violations across cloud-based services.

FIG. 9 depicts a simplified diagram of a distributed system 900 in which the various examples discussed above can be implemented. In the illustrated example, the distributed system 900 includes one or more client computing devices 902, 904, 906, 908, coupled to a server 912 via one or more communication networks 910. The client computing devices 902, 904, 906, 908 may be configured to run one or more applications.

In various embodiments, server 912 may be adapted to run one or more services or software applications that enable one or more operations associated with security system 450 and/or security monitoring and control system 102. Users may use the client computing devices 902, 904, 906, 908 to access one or more cloud-based services provided by service provider 110.

In various examples, the server 912 may also provide other services or software application, and can include non-virtual and virtual environments. In some examples, these services may be offered as web-based or cloud services or under a Software as a Service (SaaS) model to the users of the client computing devices 902, 904, 906, 908. Users operating the client computing devices 902, 904, 906, 908 may in turn use one or more client applications to interact with the server 912 to use the services provided by these components.

In the configuration depicted in FIG. 9 , the server 912 may include one or more components 918, 920, 922 that implement the functions performed by the server 912. These components may include software components that may be executed by one or more processors, hardware components, or combinations thereof. It should be appreciated that various different system configurations are possible, which may be different from the example distributed system 900.

The client computing devices 902, 904, 906, 908 may include various types of computing systems, such as portable handheld devices such as smartphones and tablets; general purpose computers such as personal computers and laptops; workstation computers; wearable devices such as a head-mounted display; gaming systems such as handheld gaming devices, gaming consoles, and Internet-enabled gaming devices; thin clients; various messaging devices; sensors and other sensing devices; and the like. These computing devices may run various types and versions of software applications and operating systems (e.g., Microsoft Windows®, Apple Macintosh®, UNIX® or UNIX-like operating systems, Linux or Linux-like operating systems such as Google Chrome™ OS) including various mobile operating systems (e.g., Microsoft Windows Mobile®, iOS®, Windows Phone®, Android™, BlackBerry®, Palm OS®). The client devices may be capable of executing various different applications such as various Internet-related apps, communication applications (e.g., e-mail applications, short message service (SMS) applications) and may use various communication protocols. A client device may provide an interface that enables a user of the client device to interact with the client device. The client device may also output information to the user via this interface. Although FIG. 9 depicts only four client computing devices, any number of client computing devices may be supported.

Network(s) 910 in the distributed system 900 may be any type of network familiar to those skilled in the art that can support data communications using any of a variety of available protocols, including without limitation TCP/IP (transmission control protocol/Internet protocol), SNA (systems network architecture), IPX (Internet packet exchange), AppleTalk, and the like. Merely by way of example, the network(s) 910 can be a local area network (LAN), networks based on Ethernet, Token-Ring, a wide-area network, the Internet, a virtual network, a virtual private network (VPN), an intranet, an extranet, a public switched telephone network (PSTN), an infra-red network, a wireless network (e.g., a network operating under any of the Institute of Electrical and Electronics (IEEE) 802.11 suite of protocols, Bluetooth®, and/or any other wireless protocol), and/or any combination of these and/or other networks.

The server 912 may be composed of one or more general purpose computers, specialized server computers (including, by way of example, PC (personal computer) servers, UNIX® servers, mid-range servers, mainframe computers, rack-mounted servers, etc.), server farms, server clusters, or any other appropriate arrangement and/or combination. The server 912 can include one or more virtual machines running virtual operating systems, or other computing architectures involving virtualization, such as one or more flexible pools of logical storage devices that can be virtualized to maintain virtual storage devices for the server. In various examples, the server 912 may be adapted to run one or more services or software applications that perform the operations as described above.

The server 912 may run an operating system including any of those discussed above, as well as any commercially available server operating system. The server 912 may also run any of a variety of additional server applications and/or mid-tier applications, including HTTP (hypertext transport protocol) servers, FTP (file transfer protocol) servers, CGI (common gateway interface) servers, JAVA® servers, database servers, and the like. Examples of database servers include, without limitation, those commercially available from Oracle, Microsoft, Sybase, IBM (International Business Machines), and the like.

In some implementations, the server 912 may include one or more applications to analyze and consolidate data feeds and/or event updates received from users of the client computing devices 902, 904, 906, 908. As an example, data feeds and/or event updates may include, but are not limited to, Twitter® feeds, Facebook® updates or real-time updates received from one or more third-party information sources and continuous data streams, which may include real-time events related to sensor data applications, financial tickers, network performance measuring tools (e.g., network monitoring and traffic management applications), clickstream analysis tools, automobile traffic monitoring, and the like. The server 912 may also include one or more applications to display the data feeds and/or real-time events via one or more display devices of the client computing devices 902, 904, 906, 908.

The distributed system 900 may also include one or more data repositories 914, 916. These data repositories may provide a mechanism for storing information various types of information, such as the information described by the various examples discussed above. The data repositories 914, 916 may reside in a variety of locations. For example, a data repository used by the server 912 may be local to server 912 or may be remote from server 912 and in communication with server 912 via a network-based or dedicated connection. The data repositories 914, 916 may be of different types. In some examples, a data repository used by the server 912 may be a database, for example, a relational database, such as databases provided by Oracle Corporation® and other vendors. One or more of these databases may be adapted to enable storage, update, and retrieval of data to and from the database in response to SQL-formatted commands.

In some examples, one or more of the data repositories 914, 916 may also be used by applications to store application data. The data repositories used by applications may be of different types such as, for example, a key-value store repository, an object store repository, or a general storage repository supported by a file system.

In some examples, a cloud environment may provide one or more services such as those discussed above. FIG. 10 is a simplified block diagram of one or more components of a system environment 1000 in which these and other services can be offered as cloud services. In the example illustrated in FIG. 10 , a cloud infrastructure system 1002 may provide one or more cloud services that may be requested by users using one or more client computing devices 1004, 1006, and 1008. The cloud infrastructure system 1002 may include one or more computers and/or servers that may include those described above for server 912 of FIG. 9 . The computers in cloud infrastructure system 1002 of FIG. 10 may be organized as general purpose computers, specialized server computers, server farms, server clusters, or any other appropriate arrangement and/or combination.

Network(s) 1010 may facilitate communication and exchange of data between the clients 1004, 1006, 1008 and the cloud infrastructure system 1002. The network(s) 1010 may include one or more networks. The networks may be of the same or different types. The network(s) 1010 may support one or more communication protocols, including wired and/or wireless protocols, for facilitating the communications.

The example depicted in FIG. 10 is only one example of a cloud infrastructure system and is not intended to be limiting. It should be appreciated that, in other examples, the cloud infrastructure system 1002 may have more or fewer components than those depicted in FIG. 10 , may combine two or more components, or may have a different configuration or arrangement of components. For example, although FIG. 10 depicts three client computing devices, any number of client computing devices may be supported in other examples.

The term cloud service is generally used to refer to a service that is made available to users on demand and via a communication network such as the Internet by systems (e.g., the cloud infrastructure system 1002) of a service provider. Typically, in a public cloud environment, servers and systems that make up the cloud service provider's system are different from the customer's own on-premises servers and systems. The cloud service provider's systems are managed by the cloud service provider. Customers can thus avail themselves of cloud services provided by a cloud service provider without having to purchase separate licenses, support, or hardware and software resources for the services. For example, a cloud service provider's system may host an application, and a user may, via the Internet, on demand and self-service, order and use the application without the user having to buy infrastructure resources for executing the application. Cloud services are designed to provide easy, scalable access to applications, resources and services. Several providers offer cloud services. For example, several cloud services are offered by Oracle Corporation® of Redwood Shores, Calif., such as middleware services, database services, Java cloud services, and others.

In various examples, the cloud infrastructure system 1002 may provide one or more cloud services using different models, such as under a Software as a Service (SaaS) model, a Platform as a Service (PaaS) model, an Infrastructure as a Service (IaaS) model, and others, including hybrid service models. The cloud infrastructure system 1002 may include a suite of applications, middleware, databases, and other resources that enable provision of the various cloud services.

A SaaS model enables an application or software to be delivered to a customer over a communication network like the Internet, as a service, without the customer having to buy the hardware or software for the underlying application. For example, a SaaS model may be used to provide customers access to on-demand applications that are hosted by the cloud infrastructure system 1002. Examples of SaaS services provided by Oracle Corporation® include, without limitation, various services for human resources/capital management, customer relationship management (CRM), enterprise resource planning (ERP), supply chain management (SCM), enterprise performance management (EPM), analytics services, social applications, and others.

An IaaS model is generally used to provide infrastructure resources (e.g., servers, storage, hardware and networking resources) to a customer as a cloud service to provide elastic compute and storage capabilities. Various IaaS services are provided by Oracle Corporation®.

A PaaS model is generally used to provide, as a service, platform and environment resources that enable customers to develop, run, and manage applications and services without the customer having to procure, build, or maintain such resources. Examples of PaaS services provided by Oracle Corporation® include, without limitation, Oracle Java Cloud Service (JCS), Oracle Database Cloud Service (DBCS), data management cloud service, various application development solutions services, and others.

In some examples, resources in the cloud infrastructure system 1002 may be shared by multiple users and dynamically re-allocated per demand. Additionally, resources may be allocated to users in different time zones. For example, the cloud infrastructure system 1002 may enable a first set of users in a first time zone to utilize resources of the cloud infrastructure system for a specified number of hours and then enable the re-allocation of the same resources to another set of users located in a different time zone, thereby maximizing the utilization of resources.

The cloud infrastructure system 1002 may provide the cloud services via different deployment models. In a public cloud model, the cloud infrastructure system 1002 may be owned by a third party cloud services provider and the cloud services are offered to any general public customer, where the customer can be an individual or an enterprise. In certain other embodiments, under a private cloud model, the cloud infrastructure system 1002 may be operated within an organization (e.g., within an enterprise organization) and services provided to customers that are within the organization. For example, the customers may be various departments of an enterprise such as the Human Resources department, the Payroll department, etc. or even individuals within the enterprise. In certain other embodiments, under a community cloud model, the cloud infrastructure system 1002 and the services provided may be shared by several organizations in a related community. Various other models such as hybrids of the above mentioned models may also be used.

The client computing devices 1004, 1006, 1008 may be devices similar to those described above for the client computing devices 902, 904, 906, 908 of FIG. 9 . The client computing devices 1004, 1006, 1008 of FIG. 10 may be configured to operate a client application such as a web browser, a proprietary client application (e.g., Oracle Forms), or some other application, which may be used by a user of the client computing device to interact with the cloud infrastructure system 1002 to use services provided by the cloud infrastructure system 1002.

In various examples, the cloud infrastructure system 1002 may also provide “big data” and related computation and analysis services. The term “big data” is generally used to refer to extremely large data sets that can be stored and manipulated by analysts and researchers to visualize large amounts of data, detect trends, and/or otherwise interact with the data. The analysis the cloud infrastructure system 1002 can perform may involve using, analyzing, and manipulating large data sets to detect and visualize various trends, behaviors, relationships, etc. within the data. This analysis may be performed by one or more processors, possibly processing the data in parallel, performing simulations using the data, and the like. The data used for this analysis may include structured data (e.g., data stored in a database or structured according to a structured model) and/or unstructured data (e.g., data blobs (binary large objects)).

As depicted in the embodiment in FIG. 10 , cloud infrastructure system 1002 may include infrastructure resources 1030 that are used for facilitating the provision of various cloud services offered by cloud infrastructure system 1002. Infrastructure resources 1030 may include, for example, processing resources, storage or memory resources, networking resources, and the like.

In some examples, to facilitate efficient provisioning of these resources for supporting the various cloud services provided by cloud infrastructure system 1002 for different customers, the resources may be bundled into sets of resources or resource modules (also referred to as “pods”). Each resource module or pod may comprise a pre-integrated and optimized combination of resources of one or more types. In some examples, different pods may be pre-provisioned for different types of cloud services. For example, a first set of pods may be provisioned for a database service, a second set of pods, which may include a different combination of resources than a pod in the first set of pods, may be provisioned for Java service, and the like. For some services, the resources allocated for provisioning the services may be shared between the services.

The cloud infrastructure system 1002 may itself internally use the services 1032 that are shared by different components of cloud infrastructure system 1002 and which facilitate the provisioning of services by cloud infrastructure system 1002. These internal shared services may include, without limitation, a security and identity service, an integration service, an enterprise repository service, an enterprise manager service, a virus scanning and white list service, a high availability, backup and recovery service, service for enabling cloud support, an email service, a notification service, a file transfer service, and the like.

In various examples, the cloud infrastructure system 1002 may include multiple subsystems. These subsystems may be implemented in software, or hardware, or combinations thereof. As depicted in FIG. 10 , the subsystems may include a user interface subsystem w that enables users or customers of cloud infrastructure system 1002 to interact with cloud infrastructure system 1002. The user interface subsystem 1012 may include various different interfaces such as a web interface 1014, an online store interface 1016 where cloud services provided by cloud infrastructure system 1002 are advertised and are purchasable by a consumer, and other interfaces 1018. For example, a customer may, using a client device, request (service request 1034) one or more services provided by cloud infrastructure system 1002 using one or more of interfaces 1014, 1016, 1018. For example, a customer may access the online store, browse cloud services offered by cloud infrastructure system 1002, and place a subscription order for one or more services offered by cloud infrastructure system 1002 that the customer wishes to subscribe to. The service request may include information identifying the customer and one or more services that the customer desires to subscribe to. For example, a customer may place a subscription order for services such as those discussed above. As part of the order, the customer may provide information identifying the amount of resources the customer needs and/or for what time frame, among other things.

In some examples, such as the example depicted in FIG. 10 , the cloud infrastructure system 1002 may include an order management subsystem (OMS) 1020 that is configured to process the new order. As part of this processing, OMS 1020 may be configured to: generate an account for the customer, if not done already; receive billing and/or accounting information from the customer that is to be used for billing the customer for providing the requested service to the customer; verify the customer information; upon verification, book the order for the customer; and orchestrate various workflows to prepare the order for provisioning, among other operations.

Once properly validated, OMS 1020 may then invoke the order provisioning subsystem (OPS) 1024 that is configured to provision resources for the order including processing, memory, and networking resources. The provisioning may include allocating resources for the order and configuring the resources to facilitate the service requested by the customer order. The manner in which resources are provisioned for an order and the type of the provisioned resources may depend upon the type of cloud service that has been ordered by the customer. For example, according to one workflow, OPS 1024 may be configured to determine the particular cloud service being requested and identify a number of pods that may have been pre-configured for that particular cloud service. The number of pods that are allocated for an order may depend upon the size/amount/level/scope of the requested service. For example, the number of pods to be allocated may be determined based upon the number of users to be supported by the service, the duration of time for which the service is being requested, and the like. The allocated pods may then be customized for the particular requesting customer for providing the requested service.

The cloud infrastructure system 1002 may send a response or notification 1044 to the requesting customer to indicate when the requested service is now ready for use. In some instances, information (e.g., a link) may be sent to the customer that enables the customer to start using and availing the benefits of the requested services.

The cloud infrastructure system 1002 may provide services to multiple customers. For each customer, the cloud infrastructure system 1002 is responsible for managing information related to one or more subscription orders received from the customer, maintaining customer data related to the orders, and providing the requested services to the customer. The cloud infrastructure system 1002 may also collect usage statistics regarding a customer's use of subscribed services. For example, statistics may be collected for the amount of storage used, the amount of data transferred, the number of users, and the amount of system up time and system down time, and the like. This usage information may be used to bill the customer. Billing may be done, for example, on a monthly cycle.

The cloud infrastructure system 1002 may provide services to multiple customers in parallel. The cloud infrastructure system 1002 may store information for these customers, including possibly proprietary information. In some examples, the cloud infrastructure system 1002 includes an identity management subsystem (IMS) 1028 that is configured to manage customers information and provide the separation of the managed information such that information related to one customer is not accessible by another customer. IMS 1028 may be configured to provide various security-related services such as identity services, such as information access management, authentication and authorization services, services for managing customer identities and roles and related capabilities, and the like.

FIG. 11 illustrates an example of a computer system 1100 that may be used to implement the various examples discussed above. In some examples, the computer system 1100 may be used to implement any of the various servers and computer systems described above. As shown in FIG. 11 , the computer system 1100 includes various subsystems including a processing subsystem 1104 that communicates with a number of other subsystems via a bus subsystem 1102. These other subsystems may include a processing acceleration unit 1106, an I/O subsystem 1108, a storage subsystem 1118 and a communications subsystem 1124. The storage subsystem 1118 may include non-transitory computer-readable storage media 1122 and a system memory 1110.

The bus subsystem 1102 provides a mechanism for letting the various components and subsystems of the computer system 1100 communicate with each other as intended. Although the bus subsystem 1102 is shown schematically as a single bus, alternate examples of the bus subsystem may utilize multiple buses. The bus subsystem 1102 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. For example, such architectures may include an Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, which can be implemented as a Mezzanine bus manufactured to the IEEE P1386.1 standard, and the like.

The processing subsystem 1104 controls the operation of the computer system 1100 and may comprise one or more processors, application specific integrated circuits (ASICs), or field programmable gate arrays (FPGAs). The processors may include be single core or multi-core processors. The processing resources of computer system 1100 can be organized into one or more processing units 1132, 1134. A processing unit may include one or more processors, including single core or multi-core processors, one or more cores from the same or different processors, a combination of cores and processors, or other combinations of cores and processors. In some examples, the processing subsystem 1104 can include one or more special purpose co-processors such as graphics processors, digital signal processors (DSPs), or the like. In some examples, some or all of the processing units of the processing subsystem 1104 can be implemented using customized circuits, such as application specific integrated circuits (ASICs), or field programmable gate arrays (FPGAs).

In some examples, the processing units in the processing subsystem 1104 can execute instructions stored in the system memory 1110 or on the computer readable storage media 1122. In various examples, the processing units can execute a variety of programs or code instructions and can maintain multiple concurrently executing programs or processes. At any given time, some or all of the program code to be executed can be resident in the system memory 1110 and/or on the computer-readable storage media 1122 including potentially on one or more storage devices. Through suitable programming, the processing subsystem 1104 can provide various functionalities described above. In instances where computer system 1100 is executing one or more virtual machines, one or more processing units may be allocated to each virtual machine

In some examples, a processing acceleration unit 1106 may be provided for performing customized processing or for off-loading some of the processing performed by the processing subsystem 1104 so as to accelerate the overall processing performed by the computer system 1100.

The I/O subsystem 1108 may include devices and mechanisms for inputting information to the computer system 1100 and/or for outputting information from or via the computer system 1100. In general, use of the term “input device” is intended to include all possible types of devices and mechanisms for inputting information to the computer system 1100. User interface input devices may include, for example, a keyboard, pointing devices such as a mouse or trackball, a touchpad or touch screen incorporated into a display, a scroll wheel, a click wheel, a dial, a button, a switch, a keypad, audio input devices with voice command recognition systems, microphones, and other types of input devices. User interface input devices may also include motion sensing and/or gesture recognition devices such as the Microsoft Kinect® motion sensor that enables users to control and interact with an input device, the Microsoft Xbox® 360 game controller, devices that provide an interface for receiving input using gestures and spoken commands. User interface input devices may also include eye gesture recognition devices such as the Google Glass® blink detector that detects eye activity (e.g., “blinking” while taking pictures and/or making a menu selection) from users and transforms the eye gestures as input into an input device (e.g., Google Glass®). Additionally, user interface input devices may include voice recognition sensing devices that enable users to interact with voice recognition systems (e.g., Siri® navigator), through voice commands.

Other examples of user interface input devices include, without limitation, three dimensional (3D) mice, joysticks or pointing sticks, gamepads and graphic tablets, and audio/visual devices such as speakers, digital cameras, digital camcorders, portable media players, webcams, image scanners, fingerprint scanners, barcode reader 3D scanners, 3D printers, laser rangefinders, and eye gaze tracking devices. Additionally, user interface input devices may include, for example, medical imaging input devices such as computed tomography, magnetic resonance imaging, position emission tomography, medical ultrasonography devices. User interface input devices may also include, for example, audio input devices such as MIDI keyboards, digital musical instruments and the like.

In general, use of the term “output device” is intended to include all possible types of devices and mechanisms for outputting information from computer system 1100 to a user or other computer. User interface output devices may include a display subsystem, indicator lights, or non-visual displays such as audio output devices, etc. The display subsystem may be a cathode ray tube (CRT), a flat-panel device, such as that using a liquid crystal display (LCD) or plasma display, a projection device, a touch screen, and the like. For example, user interface output devices may include, without limitation, a variety of display devices that visually convey text, graphics and audio/video information such as monitors, printers, speakers, headphones, automotive navigation systems, plotters, voice output devices, and modems.

The storage subsystem 1118 provides a repository or data store for storing information that is used by the computer system 1100. The storage subsystem 1118 provides a tangible non-transitory computer-readable storage medium for storing the basic programming and data constructs that provide the functionality of some examples. Software (e.g., programs, code modules, instructions) that when executed by the processing subsystem 1104 provide the functionality described above may be stored in the storage subsystem 1118. The software may be executed by one or more processing units of the processing subsystem 1104. The storage subsystem 1118 may also provide a repository for storing data used in accordance with the present disclosure.

The storage subsystem 1118 may include one or more non-transitory memory devices, including volatile and non-volatile memory devices. As shown in FIG. 11 , the storage subsystem 1118 includes a system memory 1110 and a computer-readable storage media 1122. The system memory 1110 may include a number of memories including a volatile main random access memory (RAM) for storage of instructions and data during program execution and a non-volatile read only memory (ROM) or flash memory in which fixed instructions are stored. In some implementations, a basic input/output system (BIOS), containing the basic routines that help to transfer information between elements within the computer system 1100, such as during start-up, may typically be stored in the ROM. The RAM typically contains data and/or program modules that are presently being operated and executed by the processing subsystem 1104. In some implementations, the system memory 1110 may include multiple different types of memory, such as static random access memory (SRAM) or dynamic random access memory (DRAM), and the like.

By way of example, and not limitation, as depicted in FIG. 11 , the system memory 1110 may load application programs 1112 that are being executed, which may include client applications, Web browsers, mid-tier applications, relational database management systems (RDBMS), etc., program data 1111, and an operating system 1116. By way of example, the operating system 1116 may include various versions of Microsoft Windows®, Apple Macintosh®, and/or Linux operating systems, a variety of commercially-available UNIX® or UNIX-like operating systems (including without limitation the variety of GNU/Linux operating systems, the Google Chrome® OS, and the like) and/or mobile operating systems such as iOS, Windows® Phone, Android® OS, BlackBerry® 10 OS, and Palm® OS operating systems.

The computer-readable storage media 1122 may store programming and data constructs that provide the functionality of some examples. The computer-readable media 1122 may provide storage of computer-readable instructions, data structures, program modules, and other data for the computer system 1100. Software (programs, code modules, instructions) that when executed by the processing subsystem 1104 provides the functionality described above that may be stored in the storage subsystem 1118. By way of example, the computer-readable storage media 1122 may include non-volatile memory such as a hard disk drive, a magnetic disk drive, an optical disk drive such as a CD ROM, DVD, a Blu-Ray® disk, or other optical media. The computer-readable storage media 1122 may include, but is not limited to, Zip® drives, flash memory cards, universal serial bus (USB) flash drives, secure digital (SD) cards, DVD disks, digital video tape, and the like. Computer-readable storage media 1122 may also include, solid-state drives (SSD) based on non-volatile memory such as flash-memory based SSDs, enterprise flash drives, solid state ROM, and the like, SSDs based on volatile memory such as solid state RAM, dynamic RAM, static RAM, DRAM-based SSDs, magnetoresistive RAM (MRAM) SSDs, and hybrid SSDs that use a combination of DRAM and flash memory based SSDs. The computer-readable storage media 1122 may provide storage of computer-readable instructions, data structures, program modules, and other data for the computer system 1100.

In some examples, the storage subsystem 1118 may also include a computer-readable storage media reader 1120 that can further be connected to the computer-readable storage media 1122. The reader 1120 may receive and be configured to read data from a memory device such as a disk, a flash driver, etc.

In some examples, the computer system 1100 may support virtualization technologies, including but not limited to virtualization of processing and memory resources. For example, the computer system 1100 may provide support for executing one or more virtual machines. The computer system 1100 may execute a program such as a hypervisor that facilitates the configuring and managing of the virtual machines. Each virtual machine generally runs independently of the other virtual machines. A virtual machine may be allocated memory, compute (e.g., processors, cores), I/O, and networking resources. Each virtual machine typically runs its own operating system, which may be the same as or different from the operating systems executed by other virtual machines executed by the computer system 1100. Accordingly, multiple operating systems may potentially be run concurrently by the computer system 1100.

The communications subsystem 1124 provides an interface to other computer systems and networks. The communications subsystem 1124 serves as an interface for receiving data from and transmitting data to other systems from the computer system 1100. For example, the communications subsystem 1124 may enable the computer system 1100 to establish a communication channel to one or more client computing devices via the Internet for receiving and sending information from and to the client computing devices.

The communication subsystem 1124 may support both wired and/or wireless communication protocols. For example, in some examples, the communications subsystem 1124 may include radio frequency (RF) transceiver components for accessing wireless voice and/or data networks (e.g., using cellular telephone technology, advanced data network technology, such as 3G, 4G or EDGE (enhanced data rates for global evolution), WiFi (IEEE 802.11 family standards, or other mobile communication technologies, or any combination thereof), global positioning system (GPS) receiver components, and/or other components. In some examples, the communications subsystem 1124 can provide wired network connectivity (e.g., Ethernet) in addition to or instead of a wireless interface.

The communication subsystem 1124 can receive and transmit data in various forms. For example, in some examples, the communications subsystem 1124 may receive input communication in the form of structured and/or unstructured data feeds 1126, event streams 1128, event updates 1130, and the like. For example, the communications subsystem 1124 may be configured to receive (or send) data feeds 1126 in real-time from users of social media networks and/or other communication services such as Twitter® feeds, Facebook® updates, web feeds such as Rich Site Summary (RSS) feeds, and/or real-time updates from one or more third party information sources.

In some examples, the communications subsystem 1124 may be configured to receive data in the form of continuous data streams, which may include event streams 1128 of real-time events and/or event updates 1130, that may be continuous or unbounded in nature with no explicit end. Examples of applications that generate continuous data may include, for example, sensor data applications, financial tickers, network performance measuring tools (e.g. network monitoring and traffic management applications), clickstream analysis tools, automobile traffic monitoring, and the like.

The communications subsystem 1124 may also be configured to output the structured and/or unstructured data feeds 1126, event streams 1128, event updates 1130, and the like to one or more databases that may be in communication with one or more streaming data source computers coupled to the computer system 1100.

The computer system 1100 can be one of various types, including a handheld portable device (e.g., an iPhone® cellular phone, an iPad® computing tablet, a PDA), a wearable device (e.g., a Google Glass® head mounted display), a personal computer, a workstation, a mainframe, a kiosk, a server rack, or any other data processing system.

Due to the ever-changing nature of computers and networks, the description of the computer system 1100 depicted in FIG. 11 is intended only as a specific example. Many other configurations having more or fewer components than the system depicted in FIG. 11 are possible. Based on the disclosure and teachings provided herein, a person of ordinary skill in the art will appreciate other ways and/or methods to implement the various examples.

Although specific implementations have been described, various modifications, alterations, alternative constructions, and equivalents are possible. Implementations described in the present disclosure are not restricted to operation within certain specific data processing environments, but are free to operate within a plurality of data processing environments. Additionally, although implementations have been described using a particular series of transactions and steps, it should be apparent to those skilled in the art that this is not intended to be limiting. Although some flowcharts describe operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be rearranged. A process may have additional steps not included in the figure. Various features and aspects of the above-described implementations may be used individually or jointly.

Further, while implementations described in the present disclosure have been described using a particular combination of hardware and software, it should be recognized that other combinations of hardware and software are also possible. Some implementations described herein may be implemented only in hardware, or only in software, or using combinations thereof. The various processes described herein can be implemented on the same processor or different processors in any combination.

Where devices, systems, components, or modules are described as being configured to perform certain operations or functions, such configuration can be accomplished, for example, by designing electronic circuits to perform the operation, by programming programmable electronic circuits (such as microprocessors) to perform the operation, such as by executing computer instructions or code, or processors or cores programmed to execute code or instructions stored on a non-transitory memory medium, or any combination thereof. Processes can communicate using a variety of techniques including, but not limited to, conventional techniques for inter-process communication, and different pairs of processes may use different techniques, or the same pair of processes may use different techniques at different times.

Specific details are given in this disclosure to provide a thorough understanding of the embodiments. However, embodiments may be practiced without these specific details. For example, well-known circuits, processes, algorithms, structures, and techniques have been shown without unnecessary detail in order to avoid obscuring the embodiments. This description provides example embodiments only, and is not intended to limit the scope, applicability, or configuration of other embodiments. Rather, the preceding description of the embodiments will provide those skilled in the art with an enabling description for implementing various embodiments. Various changes may be made in the function and arrangement of elements.

The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. It will, however, be evident that additions, subtractions, deletions, and other modifications and changes may be made thereunto without departing from the broader spirit and scope as set forth in the claims. Thus, although specific implementations have been described, these are not intended to be limiting. Various modifications and equivalents are within the scope of the following claims. 

What is claimed is:
 1. A method, implemented by a computer system of a network security system, comprising: obtaining activity data from a first service provider system, wherein the activity data describes first actions performed at a first point in time during use of a first cloud service, wherein the first actions are performed by one or more user devices associated with a tenant, wherein the first service provider system provides the tenant with a tenant account, and wherein the tenant account enables the one or more user devices to access the first cloud service; determining, from the activity data, a first event that occurred during use of the first cloud service; determining that the first event is associated with a security rule configured for the tenant, wherein the security rule includes a sequence of events and a threshold, wherein, when the network security system determines that a number of events from the sequence of events have occurred and the number of events exceeds the threshold, that a security violation has occurred, and wherein, at the first point in time, the number of events includes the first event and the number of events is less than the threshold; storing, in non-volatile memory, a first timestamp associated the first event; obtaining additional activity data from a second service provider system, wherein the additional activity data describes second actions performed at a second point in time during use of a second cloud service and wherein the second point in time is after the first point in time; determining, from the additional activity data, a second event that occurred during use of the second cloud service; determining that the second event is associated with the security rule, wherein, at a time after the second point in time, the number of events includes the first event and the second event, and wherein the number of events exceeds the threshold; storing, in non-volatile memory, a second timestamp associated the second event; and determining, based on the first timestamp and the second timestamp, one or more security actions to perform in response to determining that the number of events exceeds the threshold, wherein the one or more security actions include modifying a security control associated with the first cloud service or the second cloud service; and performing the one or more security actions.
 2. The method of claim 1, wherein the sequence of events comprises an ordered sequence of actions.
 3. The method of claim 1, wherein the first cloud service is distinct from the second cloud service.
 4. The method of claim 1, wherein a first user account is associated with the first event and a second user account is associated with the second event.
 5. The method of claim 4, wherein a same user is associated with the first user account and the second user account.
 6. The method of claim 4, wherein a first user is associated with the first user account and a second user is associated with the second user account.
 7. The method of claim 1, wherein the security rule further includes a time period, wherein the time period indicates a span of time.
 8. The method of claim 7, further comprising: determining the first timestamp and the second timestamp are within the time period; and modifying the security control associated with the first cloud service or the second cloud service to limit access to the first cloud service or the second cloud service for one or more user accounts associated with the first timestamp or the second timestamp.
 9. A computing system of a security management system, comprising: one or more processors; and a memory coupled to and readable by the one or more processors, the memory including instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising: obtaining activity data from a first service provider system, wherein the activity data describes first actions performed at a first point in time during use of a first cloud service, wherein the first actions are performed by one or more user devices associated with a tenant, wherein the first service provider system provides the tenant with a tenant account, and wherein the tenant account enables the one or more user devices to access the first cloud service; determining, from the activity data, a first event that occurred during use of the first cloud service; determining that the first event is associated with a security rule configured for the tenant, wherein the security rule includes a sequence of events and a threshold, wherein, when the network security system determines that a number of events from the sequence of events have occurred and the number of events exceeds the threshold, that a security violation has occurred, and wherein, at the first point in time, the number of events includes the first event and the number of events is less than the threshold; storing, in non-volatile memory, a first timestamp associated the first event; obtaining additional activity data from a second service provider system, wherein the additional activity data describes second actions performed at a second point in time during use of a second cloud service and wherein the second point in time is after the first point in time; determining, from the additional activity data, a second event that occurred during use of the second cloud service; determining that the second event is associated with the security rule, wherein, at a time after the second point in time, the number of events includes the first event and the second event, and wherein the number of events exceeds the threshold; storing, in non-volatile memory, a second timestamp associated the second event; and determining, based on the first timestamp and the second timestamp, one or more security actions to perform in response to determining that the number of events exceeds the threshold, wherein the one or more security actions include modifying a security control associated with the first cloud service or the second cloud service; and performing the one or more security actions.
 10. The computer system of claim 9, wherein the sequence of events comprises an ordered sequence of actions.
 11. The computer system of claim 9, wherein the first cloud service is distinct from the second cloud service.
 12. The computer system of claim 9, wherein a first user account is associated with the first event and a second user account is associated with the second event.
 13. The computer system of claim 12, wherein a same user is associated with the first user account and the second user account.
 14. The computer system of claim 12, wherein a first user is associated with the first user account and a second user is associated with the second user account.
 15. The computer system of claim 9, wherein the security rule further includes a time period, wherein the time period indicates a span of time.
 16. The computer system of claim 9, wherein the instructions that, when executed by the one or more processors, further cause the one or more processors to perform operations including: determining the first timestamp and the second timestamp are within the time period; and modifying the security control associated with the first cloud service or the second cloud service to limit access to the first cloud service or the second cloud service for one or more user accounts associated with the first timestamp or the second timestamp.
 17. A non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more processors of a computing system of a security management system, cause the one or more processors to perform operations comprising: obtaining activity data from a first service provider system, wherein the activity data describes first actions performed at a first point in time during use of a first cloud service, wherein the first actions are performed by one or more user devices associated with a tenant, wherein the first service provider system provides the tenant with a tenant account, and wherein the tenant account enables the one or more user devices to access the first cloud service; determining, from the activity data, a first event that occurred during use of the first cloud service; determining that the first event is associated with a security rule configured for the tenant, wherein the security rule includes a sequence of events and a threshold, wherein, when the network security system determines that a number of events from the sequence of events have occurred and the number of events exceeds the threshold, that a security violation has occurred, and wherein, at the first point in time, the number of events includes the first event and the number of events is less than the threshold; storing, in non-volatile memory, a first timestamp associated the first event; obtaining additional activity data from a second service provider system, wherein the additional activity data describes second actions performed at a second point in time during use of a second cloud service and wherein the second point in time is after the first point in time; determining, from the additional activity data, a second event that occurred during use of the second cloud service; determining that the second event is associated with the security rule, wherein, at a time after the second point in time, the number of events includes the first event and the second event, and wherein the number of events exceeds the threshold; storing, in non-volatile memory, a second timestamp associated the second event; and determining, based on the first timestamp and the second timestamp, one or more security actions to perform in response to determining that the number of events exceeds the threshold, wherein the one or more security actions include modifying a security control associated with the first cloud service or the second cloud service; and performing the one or more security actions.
 18. The non-transitory computer-readable medium of claim 17, wherein the sequence of events comprises an ordered sequence of actions.
 19. The non-transitory computer-readable medium of claim 17, wherein the first cloud service is distinct from the second cloud service.
 20. The non-transitory computer-readable medium of claim 17, wherein a first user account is associated with the first event and a second user account is associated with the second event. 